-
-
Save MrCyjaneK/33a4efa537fa8b1d65604eef1c33f49d to your computer and use it in GitHub Desktop.
monero-gui-checkinstall
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd monero-gui/build/release/bin/ | |
VERSION=$(./monerod --version | tr '()' "\n" | head -2 | tail -1 | tr -d 'v') | |
for i in monero-blockchain-ancestry monero-blockchain-depth monero-blockchain-export monero-blockchain-import monero-blockchain-mark-spent-outputs monero-blockchain-prune monero-blockchain-prune-known-spent-data monero-blockchain-stats monero-blockchain-usage monero-gen-ssl-cert monero-gen-trusted-multisig monero-wallet-cli monero-wallet-gui monero-wallet-rpc monerod; | |
do | |
echo -n -e ".PHONY: install\n" > Makefile | |
echo -n -e "install:\n" >> Makefile | |
echo -n -e "\tmkdir -p /bin || true\n" >> Makefile | |
echo -n -e "\tcp $i /bin/$i\n" >> Makefile | |
if [[ "$i" == "monero-wallet-gui" ]]; | |
then | |
checkinstall --default --pkgname="$i" --pkgversion=$VERSION --maintainer="[email protected]" --depends="libunbound8,libhidapi-libusb0,libboost-program-options1.74.0,libboost-chrono1.74.0,libboost-filesystem1.74.0,libboost-thread1.74.0,libboost-regex1.74.0,libboost-serialization1.74.0,qml-module-qtquick-dialogs,qml-module-qtgraphicaleffects,qml-module-qtquick-controls,qml-module-qtquick-controls2,qml-module-qtquick-xmllistmodel,qml-module-qt-labs-platform" | |
else; | |
checkinstall --default --pkgname="$i" --pkgversion=$VERSION --maintainer="[email protected]" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment