aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bitcoin/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bitcoin/APKBUILD')
-rw-r--r--testing/bitcoin/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/bitcoin/APKBUILD b/testing/bitcoin/APKBUILD
index a6c4af12f9..edd594ff6f 100644
--- a/testing/bitcoin/APKBUILD
+++ b/testing/bitcoin/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=bitcoin
-pkgver=0.9.3
-_pkgver=rc2
+pkgver=0.9.3_rc2
+_ver=${pkgver/_/}
pkgrel=0
pkgdesc="decentralized P2P electronic cash system"
url="http://www.bitcoin.org/"
@@ -15,13 +15,13 @@ makedepends="$depends_dev boost-dev openssl-dev db-dev miniupnpc-dev
autoconf automake libtool"
install="$pkgname.post-install $pkgname.pre-install"
subpackages="$pkgname-qt $pkgname-cli"
-source="$pkgname-$pkgver$_pkgver.tar.gz::https://github.com/bitcoin/bitcoin/archive/v$pkgver$_pkgver.tar.gz
+source="$pkgname-$_ver.tar.gz::https://github.com/bitcoin/bitcoin/archive/v${_ver}.tar.gz
ssize_t.patch
$pkgname.initd
$pkgname.conf
"
-_builddir="$srcdir"/bitcoin-$pkgver$_pkgver
+_builddir="$srcdir"/bitcoin-$_ver
prepare() {
local i
cd "$_builddir"