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