From 20156a744072453398dff707eb2f31b9911811de Mon Sep 17 00:00:00 2001 From: wowario Date: Wed, 25 Nov 2020 22:19:13 +0300 Subject: [PATCH] update PKGBUILD --- PKGBUILD | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 7ae0d75..598dc60 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,16 +1,15 @@ # Maintainer: wowario # Contributor: wowario -pkgbase=('monero-feather-git') -pkgname=('monero-feather-git') -pkgver=v0.1.0.0.cd1cd5cb75 -pkgrel=1 -pkgdesc="a free Monero desktop wallet" +pkgbase='monero-feather-git' +pkgname='monero-feather-git' +pkgver='v0.1.0.0.ca5b1df7df' +pkgrel='1' +pkgdesc='a free Monero desktop wallet' license=('BSD') arch=('x86_64') url="https://featherwallet.org" -depends=('boost-libs' 'libunwind' 'openssl' 'readline' 'zeromq' 'pcsclite' 'hidapi' 'protobuf' 'miniupnpc' - 'libgcrypt' 'qrencode' 'ccache' 'libsodium' 'libpgm' 'expat' 'base-devel' 'qt5-base') +depends=('boost-libs' 'libunwind' 'openssl' 'readline' 'zeromq' 'pcsclite' 'hidapi' 'protobuf' 'miniupnpc' 'libgcrypt' 'qrencode' 'ccache' 'libsodium' 'libpgm' 'expat' 'qt5-base' 'qt5-websockets' 'tor') makedepends=('git' 'cmake' 'boost') provides=('monero-feather-git') @@ -18,17 +17,16 @@ source=("${pkgname}"::"git+https://git.wownero.com/feather/feather") sha256sums=('SKIP') -pkgver() { - cd "$srcdir/$pkgname" - git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g' -} - build() { cd "${srcdir}/${pkgname}" - mkdir build && cd build && cmake .. && make release-static -j2 + git submodule update --init --recursive + mkdir build + cd build + cmake .. + make -j2 } -package_feather-git() { +package_monero-feather-git() { install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm755 "${srcdir}/${pkgname}/build/bin/feather" "${pkgdir}/usr/bin/feather" }