Build deb package
This commit is contained in:
10
src/scripts/control
Normal file
10
src/scripts/control
Normal file
@@ -0,0 +1,10 @@
|
||||
Package: zec-qt-wallet
|
||||
Version: RELEASE_VERSION
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: openssl (>= 1.0.0)
|
||||
Maintainer: Aditya Kulkarni <zcash@adityapk.com>
|
||||
Description: zec-qt-wallet is a full node and UI wallet for zcash.
|
||||
zec-qt-wallet is a full node and UI wallet for zcash. It comes with
|
||||
full support for shielded addresses and many apps for zcash.
|
||||
13
src/scripts/desktopentry
Normal file
13
src/scripts/desktopentry
Normal file
@@ -0,0 +1,13 @@
|
||||
[Desktop Entry]
|
||||
Name=zec-qt-wallet
|
||||
Comment=Full node and wallet for zcash
|
||||
GenericName=Wallet
|
||||
Exec=/usr/local/bin/zec-qt-wallet
|
||||
Icon=zec-qt-wallet.xpm
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
StartupWMClass=Code
|
||||
Categories=Utility;
|
||||
MimeType=text/plain;inode/directory;
|
||||
Keywords=zec-qt-wallet;
|
||||
|
||||
@@ -86,6 +86,27 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo -n "Building deb......"
|
||||
debdir=bin/deb/zec-qt-wallet-v$APP_VERSION
|
||||
mkdir -p $debdir > /dev/null
|
||||
mkdir $debdir/DEBIAN
|
||||
mkdir -p $debdir/usr/local/bin
|
||||
|
||||
cat src/scripts/control | sed "s/RELEASE_VERSION/$APP_VERSION/g" > $debdir/DEBIAN/control
|
||||
|
||||
cp zec-qt-wallet $debdir/usr/local/bin/
|
||||
cp ../zcash/artifacts/zcashd $debdir/usr/local/bin/zqw-zcashd
|
||||
|
||||
mkdir -p $debdir/usr/share/pixmaps/
|
||||
cp res/zec-qt-wallet.xpm $debdir/usr/share/pixmaps/
|
||||
|
||||
mkdir -p $debdir/usr/share/applications
|
||||
cp src/scripts/desktopentry $debdir/usr/share/applications/zec-qt-wallet.desktop
|
||||
|
||||
dpkg-deb --build $debdir >/dev/null
|
||||
cp $debdir.deb artifacts/
|
||||
echo "[DONE]"
|
||||
|
||||
|
||||
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user