summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimur Kiyui2018-03-04 18:58:26 +0800
committerTimur Kiyui2018-03-04 18:58:26 +0800
commit8ffcd0867194b18469a9a4c6ba07f7d04ee61933 (patch)
treecd6900a48a6868f7a030399962f838a6e6a94988
parent8f8d8617add651e98cdc64d52e48af58b2d80b94 (diff)
downloadaur-zcoin-git.tar.gz
[FIX] Build failure after latest update
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 10 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dca723389f8..08cdc5bec0a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = zcoin-git
pkgdesc = The Zerocoin Cryptocurrency
- pkgver = 318.708491e
+ pkgver = v0.13.4.2.r97.g62f1a32
pkgrel = 1
url = https://github.com/zcoinofficial/zcoin
arch = any
@@ -10,9 +10,11 @@ pkgbase = zcoin-git
depends = miniupnpc
depends = qt5-base
depends = qt5-tools
- depends = openssl-1.0
+ depends = openssl
depends = qrencode
depends = libevent
+ depends = libcap
+ depends = zstd
source = zcoin-git::git+https://github.com/zcoinofficial/zcoin.git
source = zcoin.desktop
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index db49f74a4bd..36f2cfb2d20 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Timur Kiyivinski <timur@linux.com>
pkgname=zcoin-git
-pkgver=318.708491e
+pkgver=v0.13.4.2.r97.g62f1a32
pkgrel=1
pkgdesc='The Zerocoin Cryptocurrency'
arch=('any')
url='https://github.com/zcoinofficial/zcoin'
license=('MIT')
-depends=('db4.8' 'boost' 'miniupnpc' 'qt5-base' 'qt5-tools' 'openssl-1.0' 'qrencode' 'libevent')
+depends=('db4.8' 'boost' 'miniupnpc' 'qt5-base' 'qt5-tools' 'openssl' 'qrencode' 'libevent' 'libcap' 'zstd')
source=("$pkgname::git+https://github.com/zcoinofficial/zcoin.git"
"${pkgname/-git/}.desktop")
md5sums=('SKIP'
@@ -15,13 +15,15 @@ md5sums=('SKIP'
pkgver() {
cd "$pkgname"
- echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$pkgname"
./autogen.sh
- LDFLAGS=" -L/usr/lib/openssl-1.0 -lssl" CXXFLAGS="-I/usr/include/openssl-1.0" PKG_CONFIG_PATH="/usr/lib/openssl-1.0/pkgconfig" ./configure
+ LDFLAGS=" -lseccomp -lzstd -lcap" ./configure
+ # Please uncomment this if you face build errors
+ # make clean
make
}