update PKGBUILD

This commit is contained in:
wowario 2019-06-23 09:35:25 +03:00
parent 805781957a
commit ec42fd80a1
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
1 changed files with 4 additions and 6 deletions

View File

@ -3,13 +3,13 @@
pkgbase=('wownero-git') pkgbase=('wownero-git')
pkgname=('wownero-git') pkgname=('wownero-git')
pkgver=0.5.0.2 pkgver=v0.6.1.1.r2.9afbcfb7
pkgrel=1 pkgrel=1
pkgdesc="a fairly launched privacy-centric meme coin with no premine and a finite supply" pkgdesc="a fairly launched privacy-centric meme coin with no premine and a finite supply"
license=('custom:Cryptonote') license=('custom:Cryptonote')
arch=('x86_64') arch=('x86_64')
url="http://wownero.org/" url="http://wownero.org/"
depends=('boost-libs' 'zeromq' 'unbound' 'libusb') depends=('openssl' 'zeromq' 'libpgm' 'unbound' 'libsodium')
makedepends=('git' 'cmake' 'boost') makedepends=('git' 'cmake' 'boost')
provides=('wownero-git') provides=('wownero-git')
@ -18,14 +18,12 @@ source=("${pkgname}"::"git+https://github.com/wownero/wownero")
sha256sums=('SKIP') sha256sums=('SKIP')
pkgver() { pkgver() {
cd "${srcdir}/${pkgname}" cd "$srcdir/$pkgname"
printf "$(echo ${pkgver} | sed 's/\.r.*//').r%s.g%s" \ git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
} }
build() { build() {
cd "${srcdir}/${pkgname}" cd "${srcdir}/${pkgname}"
git fetch --tags && git checkout tags/v0.5.0.2 -b v0.5.0.2
USE_SINGLE_BUILDDIR=1 make USE_SINGLE_BUILDDIR=1 make
} }