update PKGBUILD
This commit is contained in:
parent
805781957a
commit
ec42fd80a1
10
PKGBUILD
10
PKGBUILD
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue