forked from Packaging/Station
Depend on nw.js externally for debian package
parent
75689556dc
commit
e2b3c7046e
@ -1,8 +1,9 @@
|
||||
Package: notepost
|
||||
Version: 1.2.0
|
||||
Version: 1.2.0-1
|
||||
Maintainer: Netsyms Technologies <opensource@netsyms.com>
|
||||
Section: web
|
||||
Homepage: https://netsyms.com/apps/notepost
|
||||
Priority: optional
|
||||
Depends: nw.js-normal | nw.js
|
||||
Description: Desktop client for the NotePost notetaking webapp.
|
||||
Architecture: i386
|
||||
Architecture: all
|
||||
|
@ -1,3 +1,2 @@
|
||||
#!/bin/sh
|
||||
cd /usr/lib/notepost
|
||||
./notepost
|
||||
nwjs /usr/share/notepost
|
||||
|
@ -1,11 +1,10 @@
|
||||
#!/bin/bash
|
||||
# $1 is the binary location, $2 is the arch, $3 is the svg icon
|
||||
mkdir out
|
||||
sed -i '/Architecture:/d' debian/DEBIAN/control
|
||||
echo "Architecture: $2" >> debian/DEBIAN/control
|
||||
rm -rf debian/usr/lib/notepost
|
||||
mv "$1com.netsyms.NotePostApp" "$1notepost"
|
||||
mkdir -p debian/usr/lib
|
||||
rsync -rv "$1" debian/usr/lib/notepost
|
||||
cp "$3" debian/usr/lib/notepost/logo.svg
|
||||
dpkg-deb -b debian "out/notepost_$2.deb"
|
||||
# $1 is the app source location, $2 is the svg icon
|
||||
mkdir -p out
|
||||
rm -rf debian/usr/share/notepost
|
||||
mkdir -p debian/usr/share/notepost
|
||||
mkdir -p debian/usr/share/doc/notepost
|
||||
rsync -rv "$1" debian/usr/share/notepost
|
||||
cp debian/DEBIAN/copyright debian/usr/share/doc/notepost/
|
||||
cp "$2" debian/usr/share/notepost/logo.svg
|
||||
dpkg-deb -b debian "out/notepost_1.2.0-1_all.deb"
|
||||
|
Loading…
Reference in New Issue