diff --git a/PKGBUILD b/PKGBUILD index 598dc60..e271d9e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,29 +1,32 @@ # Maintainer: wowario # Contributor: wowario -pkgbase='monero-feather-git' pkgname='monero-feather-git' -pkgver='v0.1.0.0.ca5b1df7df' -pkgrel='1' +pkgver=0.1.0.925ef5683 +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' 'qt5-base' 'qt5-websockets' 'tor') +depends=('boost-libs' 'libunwind' 'openssl' 'readline' 'pcsclite' 'hidapi' 'protobuf' 'miniupnpc' 'libgcrypt' 'qrencode' 'libsodium' 'libpgm' 'expat' 'qt5-base' 'qt5-websockets' 'tor') makedepends=('git' 'cmake' 'boost') -provides=('monero-feather-git') source=("${pkgname}"::"git+https://git.wownero.com/feather/feather") sha256sums=('SKIP') +pkgver() { + cd "${srcdir}/${pkgname}" + printf "%s.%s" "$(git describe --tags --abbrev=0)" "$(git rev-parse --short=9 HEAD)" +} + build() { cd "${srcdir}/${pkgname}" git submodule update --init --recursive - mkdir build + mkdir -p build cd build cmake .. - make -j2 + make } package_monero-feather-git() {