diff options
author | Timur Kiyui | 2018-03-04 18:58:26 +0800 |
---|---|---|
committer | Timur Kiyui | 2018-03-04 18:58:26 +0800 |
commit | 8ffcd0867194b18469a9a4c6ba07f7d04ee61933 (patch) | |
tree | cd6900a48a6868f7a030399962f838a6e6a94988 /PKGBUILD | |
parent | 8f8d8617add651e98cdc64d52e48af58b2d80b94 (diff) | |
download | aur-zcoin-git.tar.gz |
[FIX] Build failure after latest update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 } |