diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -1,5 +1,4 @@ # Maintainer: redfish <redfish at galactica dot pw> - pkgname='monero-wallet-qt-git' _monerover=0.13.0.4 pkgver=0.13.0.4 @@ -22,7 +21,9 @@ makedepends=('git' 'cmake' 'boost') pkgdesc="Official QT GUI wallet for Monero, a private, secure, untraceable peer-to-peer currency" _repourl=https://github.com/monero-project/monero-gui -source=("git+$_repourl") +source=("git+$_repourl" + "0001-pro-add-libusb-1.0-to-non-static-link-for-Linux.patch" + "0002-pro-add-protobuf-lib-to-link-commnad-for-Linux.patch") sha256sums=('SKIP') @@ -44,7 +45,11 @@ prepare() { echo "var GUI_VERSION = \"$pkgver\"" > version.js echo "var GUI_MONERO_VERSION = \"$_monerover\"" >> version.js - git pull --no-edit origin refs/pull/1743/head # link protobuf + # The upstream build system adds these dependencies as part of a list + # autogenerated during the build of monero. We don't want to have + # to build monero just to build the wallet. + patch -p1 < ../0001-pro-add-libusb-1.0-to-non-static-link-for-Linux.patch + patch -p1 < ../0002-pro-add-protobuf-lib-to-link-commnad-for-Linux.patch } build() { @@ -60,3 +65,7 @@ package() { install -D -m755 "$srcdir/$_srcdir/release/bin/monero-wallet-gui" "$pkgdir/usr/bin/monero-wallet-qt" install -D -m644 "$srcdir/$_srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } + +sha256sums=('SKIP' + '68de913110996c232a284004057f2655c1798472670e31524f86b005f6bf07a8' + '76fbeb62810f9f0281320e5b5309395d3239f1dcb8f08b71b98e8a4c06e33e98') |