diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..841b5be98f4b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: metscoin <mets_coin@outlook.com> + +pkgname=lux-qt +pkgver=5.2.2 +pkgrel=1 +arch=('i686' 'x86_64') +url="https://luxcore.io/" +license=('MIT') +pkgdesc="Cryptocurrency wallet(QT)" +depends=(boost-libs qt5-base qrencode miniupnpc db4.8 zeromq protobuf libevent) +makedepends=(boost qt5-tools libevent python) +conflicts=(luxcoin) +install=lux-qt.install +source=("${pkgname%-git}::git+https://github.com/LUX-Core/lux.git#tag=v${pkgver}" + "$pkgname.desktop" + "lux.patch") +sha256sums=('SKIP' + '546ae8129ffd9a1e0b639441e38e97088439a33e204023963dfd771fe9cb756a' + '2bbe1e79623fdf5d352f736e8844233c0b5ff2975b6e00bb27933253a2dde4b1') + +prepare() { + cd "$srcdir/$pkgname" + patch -p1 -i "../lux.patch" +} + +build() { + cd "$srcdir/$pkgname" + find . -type f -iname "*.sh" -exec chmod +x {} \; + ./autogen.sh + ./configure --with-gui=qt5 --without-miniupnpc --disable-tests --with-incompatible-bdb + make +} + +package() { + install -Dm644 lux-qt.desktop "$pkgdir"/usr/share/applications/lux.desktop + cd "$srcdir/$pkgname" + install -Dm755 src/qt/lux-qt "$pkgdir"/usr/bin/lux-qt + install -Dm644 share/pixmaps/bitcoin128.png "$pkgdir"/usr/share/pixmaps/lux128.png + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |