summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 18 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4b352d353220..81d52e54b83d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
# Contributor: William Giokas (KaiSforza) <1007380@gmail.com>
pkgname=libbitcoin-system
-pkgver=3.5.0
-pkgrel=2
+pkgver=20190105
+pkgrel=1
pkgdesc="Bitcoin Cross-Platform C++ Development Toolkit"
arch=('aarch64' 'arm' 'armv6h' 'armv7h' 'i686' 'x86_64')
depends=('boost'
@@ -22,21 +22,25 @@ makedepends=('autoconf'
'make'
'pkg-config')
groups=('libbitcoin')
-url="https://github.com/libbitcoin/libbitcoin"
+url="https://github.com/libbitcoin/libbitcoin-system"
license=('AGPL3')
-source=($pkgname-$pkgver.tar.gz::https://codeload.github.com/libbitcoin/$pkgname/tar.gz/v$pkgver
- git+https://github.com/libbitcoin/libbitcoin.wiki)
-sha256sums=('214d9cd6581330b0e1f6fd8f0c634c46b75ae5515806ecac189f21c0291ae2d9'
- 'SKIP')
-provides=('libbitcoin' 'libbitcoin-system')
-conflicts=('libbitcoin')
+#source=($pkgname-$pkgver.tar.gz::https://codeload.github.com/libbitcoin/$pkgname/tar.gz/v$pkgver
+source=(git+https://github.com/libbitcoin/libbitcoin-system#tag=v3.6.0
+ git+https://github.com/libbitcoin/libbitcoin-system.wiki)
+sha256sums=('SKIP' 'SKIP')
# half of available processing units or one if only one is available
_nproc=$(($(nproc)/2))
[[ ${_nproc} < 1 ]] && _nproc=1
+pkgver() {
+ cd libbitcoin-system
+ git log -1 --format="%cd" --date=short --no-show-signature | sed "s|-||g"
+}
+
build() {
- cd "$srcdir/libbitcoin-$pkgver"
+ #cd "$srcdir/libbitcoin-$pkgver"
+ cd libbitcoin-system
msg2 'Building...'
./autogen.sh
@@ -56,14 +60,16 @@ build() {
}
check() {
- cd "$srcdir/libbitcoin-$pkgver"
+ #cd "$srcdir/libbitcoin-$pkgver"
+ cd libbitcoin-system
msg2 'Testing...'
make -j$_nproc check
}
package() {
- cd "$srcdir/libbitcoin-$pkgver"
+ #cd "$srcdir/libbitcoin-$pkgver"
+ cd libbitcoin-system
msg2 'Installing license...'
install -Dm 644 COPYING -t "$pkgdir/usr/share/licenses/libbitcoin"