aboutsummaryrefslogtreecommitdiffstats
path: root/community/bitcoin/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/bitcoin/APKBUILD')
-rw-r--r--community/bitcoin/APKBUILD35
1 files changed, 17 insertions, 18 deletions
diff --git a/community/bitcoin/APKBUILD b/community/bitcoin/APKBUILD
index d1c32c7521..42364e7cb2 100644
--- a/community/bitcoin/APKBUILD
+++ b/community/bitcoin/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=bitcoin
-pkgver=0.14.0
+pkgver=0.14.1
_ver=${pkgver/_/}
pkgrel=1
pkgdesc="decentralized P2P electronic cash system"
@@ -33,63 +33,62 @@ build() {
--with-utils \
--disable-ccache \
--disable-static \
- --enable-hardening \
- || return 1
- make || return 1
+ --enable-hardening
+ make
}
package() {
cd "$builddir"
- make install DESTDIR="$pkgdir" || return 1
- install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname || return 1
- install -m600 -D "$srcdir"/$pkgname.conf "$pkgdir"/etc/$pkgname.conf || return 1
+ make install DESTDIR="$pkgdir"
+ install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ install -m600 -D "$srcdir"/$pkgname.conf "$pkgdir"/etc/$pkgname.conf
rm -f "$pkgdir"/usr/lib/*.la
}
qt() {
pkgdesc="Bitcoin with a Qt frontend & QR Code support"
mkdir -p "$subpkgdir"/usr/bin
- mv "$pkgdir"/usr/bin/$pkgname-qt "$subpkgdir"/usr/bin/ || return 1
+ mv "$pkgdir"/usr/bin/$pkgname-qt "$subpkgdir"/usr/bin/
}
cli() {
pkgdesc="Bitcoin CLI"
mkdir -p "$subpkgdir"/usr/bin
- mv "$pkgdir"/usr/bin/$pkgname-cli "$subpkgdir"/usr/bin/ || return 1
+ mv "$pkgdir"/usr/bin/$pkgname-cli "$subpkgdir"/usr/bin/
}
tx() {
pkgdesc="Bitcoin TX (Transaction Tool)"
mkdir -p "$subpkgdir"/usr/bin
- mv "$pkgdir"/usr/bin/$pkgname-tx "$subpkgdir"/usr/bin/ || return 1
+ mv "$pkgdir"/usr/bin/$pkgname-tx "$subpkgdir"/usr/bin/
}
tests() {
pkgdesc="Bitcoin & Bitcoin-QT Unit Tests)"
mkdir -p "$subpkgdir"/usr/bin
- chrpath -d "$pkgdir"/usr/bin/test_$pkgname || return 1
- mv "$pkgdir"/usr/bin/test_$pkgname-qt "$subpkgdir"/usr/bin/ || return 1
- mv "$pkgdir"/usr/bin/test_$pkgname "$subpkgdir"/usr/bin/ || return 1
+ chrpath -d "$pkgdir"/usr/bin/test_$pkgname
+ mv "$pkgdir"/usr/bin/test_$pkgname-qt "$subpkgdir"/usr/bin/
+ mv "$pkgdir"/usr/bin/test_$pkgname "$subpkgdir"/usr/bin/
}
bench() {
pkgdesc="Bitcoin Benchmarking Tools)"
mkdir -p "$subpkgdir"/usr/bin
- mv "$pkgdir"/usr/bin/bench_$pkgname "$subpkgdir"/usr/bin/ || return 1
+ mv "$pkgdir"/usr/bin/bench_$pkgname "$subpkgdir"/usr/bin/
}
dev() {
mkdir -p "$subpkgdir"/usr
- mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ || return 1
- mv "$pkgdir"/usr/include "$subpkgdir"/usr/ || return 1
+ mv "$pkgdir"/usr/lib "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/include "$subpkgdir"/usr/
}
check() {
cd "$builddir"
- make check || return 1
+ make check
}
-sha512sums="3721700aa0ad2a36479d822320c71a4e51a0382f40bfac16376079c1cca891106523fc59de4687dfef9dc2c5dc84597df9605fef922190cfc419c6c3b6bb15f0 bitcoin-0.14.0.tar.gz
+sha512sums="c3eb2185d1d510932e4bc3761aaf411b1adb11fe2558ae3cfc1aee8fe40fad92c43b1c572ce177eef4ceccb5a32f875e0e755abe52f81abac7109192ece9660d bitcoin-0.14.1.tar.gz
98aa5ad81bdb4ae961b791bc978c39117cdf2d83c2181f92bebbb0db107d9b6e86eda265fb3f93ff8a5ca8a7754d7148818b98095d57201dff9363d60b97e7dd ssize_t.patch
71e5f3b5079a22b6ddecfad89363fc642d5ea7da18f1203057f626d214734467f4b933b839c269401be7af2c3dcc01afcb3b98198b7d580c56d8740b34451558 bitcoin.initd
a31210d8db76c5a9b614a6de756c1678c0344898565ac3e5d6a34ac1bed66aec4964f1dc874294bc978f53b0e961df921655f7309df19b66c90aa6bd40379a09 bitcoin.conf"