summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Vitor de Lima Matos2017-05-08 16:22:44 -0300
committerAndré Vitor de Lima Matos2017-05-08 16:22:44 -0300
commit4909f98eda8d80351d702fe1bb31d2c55846cbb5 (patch)
treea4b30b52236b12c1f390c9c7b1938fba4a593416
parent260c31487f4865c8cc48efb3b8e19b3198b24f57 (diff)
downloadaur-4909f98eda8d80351d702fe1bb31d2c55846cbb5.tar.gz
v1.0.1.4
Using openssl-1.0
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD14
2 files changed, 13 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fe553ed3e73..6645f80a439 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = bitcoin-unlimited
pkgdesc = Bitcoin Unlimited versions of Bitcoind, bitcoin-cli, bitcoin-tx, and bitcoin-qt, w/GUI and wallet
- pkgver = 1.0.1.3
+ pkgver = 1.0.1.4
pkgrel = 1
url = http://www.bitcoinunlimited.info
arch = i686
@@ -21,6 +21,7 @@ pkgbase = bitcoin-unlimited
depends = qrencode
depends = openssl
depends = miniupnpc
+ depends = openssl-1.0
provides = bitcoin-unlimited-git
provides = bitcoin-daemon
provides = bitcoin-cli
diff --git a/PKGBUILD b/PKGBUILD
index 6ee51185398..dc01ee71c98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,13 @@
pkgname=bitcoin-unlimited
_pkgbase=BitcoinUnlimited
-pkgver=1.0.1.3
+pkgver=1.0.1.4
pkgrel=1
pkgdesc='Bitcoin Unlimited versions of Bitcoind, bitcoin-cli, bitcoin-tx, and bitcoin-qt, w/GUI and wallet'
arch=('i686' 'x86_64' 'armv7h')
url="http://www.bitcoinunlimited.info"
license=('MIT')
-depends=('boost-libs' 'desktop-file-utils' 'libevent' 'qt5-base' 'protobuf' 'qrencode' 'openssl' 'miniupnpc')
+depends=('boost-libs' 'desktop-file-utils' 'libevent' 'qt5-base' 'protobuf' 'qrencode' 'openssl' 'miniupnpc' 'openssl-1.0')
makedepends=('boost' 'libevent' 'qt5-base' 'qt5-tools' 'qrencode' 'protobuf')
provides=('bitcoin-unlimited-git' 'bitcoin-daemon' 'bitcoin-cli' 'bitcoin-qt' 'bitcoin-tx')
conflicts=('bitcoin-unlimited-git' 'bitcoin-daemon' 'bitcoin-cli' 'bitcoin-qt' 'bitcoin-tx')
@@ -22,11 +22,19 @@ pkgver() {
# version based on last tag
# avoid rebuilding (same version) if last tag hasn't changed
- git describe --long --tags | sed "s/^\([^-]\+\).*-\([^-]\+\)$/\1/"
+ git describe --long --tags | sed "s/^[^0-9]*\([0-9][^-]\+\).*$/\1/"
}
build() {
cd "$srcdir/$_pkgbase"
+ export CXXFLAGS+=" -I/usr/include/openssl-1.0"
+ export LDFLAGS+=" -L/usr/lib/openssl-1.0 -lssl -lcrypto"
+
+ export SSL_CFLAGS="-I/usr/include/openssl-1.0"
+ export SSL_LIBS="-L/usr/lib/openssl-1.0 -lssl -lcrypto"
+
+ export CRYPTO_CFLAGS="-I/usr/include/openssl-1.0"
+ export CRYPTO_LIBS="-L/usr/lib/openssl-1.0 -lssl -lcrypto"
./autogen.sh
./configure --prefix=/usr --with-incompatible-bdb --with-gui=qt5