From ec42fd80a1bab531c002902885761f036752f0e7 Mon Sep 17 00:00:00 2001 From: wowario Date: Sun, 23 Jun 2019 09:35:25 +0300 Subject: [PATCH] update PKGBUILD --- PKGBUILD | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 875ce5da6..11c346284 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,13 +3,13 @@ pkgbase=('wownero-git') pkgname=('wownero-git') -pkgver=0.5.0.2 +pkgver=v0.6.1.1.r2.9afbcfb7 pkgrel=1 pkgdesc="a fairly launched privacy-centric meme coin with no premine and a finite supply" license=('custom:Cryptonote') arch=('x86_64') url="http://wownero.org/" -depends=('boost-libs' 'zeromq' 'unbound' 'libusb') +depends=('openssl' 'zeromq' 'libpgm' 'unbound' 'libsodium') makedepends=('git' 'cmake' 'boost') provides=('wownero-git') @@ -18,14 +18,12 @@ source=("${pkgname}"::"git+https://github.com/wownero/wownero") sha256sums=('SKIP') pkgver() { - cd "${srcdir}/${pkgname}" - printf "$(echo ${pkgver} | sed 's/\.r.*//').r%s.g%s" \ - "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "$srcdir/$pkgname" + git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g' } build() { cd "${srcdir}/${pkgname}" - git fetch --tags && git checkout tags/v0.5.0.2 -b v0.5.0.2 USE_SINGLE_BUILDDIR=1 make }