summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdr2019-08-19 07:34:31 -0400
committergdr2019-08-19 07:34:31 -0400
commitd8e42c2bb248be46bc880e30d8cc323e7514f64c (patch)
tree54d00d0905892e9c6197a5f1b436c7f4444e6de8
parent75fab2081c64f3d5a7ef1cced369ecf53c846e3f (diff)
downloadaur-libbitcoin-system.tar.gz
use git branch to download libbitcoin-system
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD30
2 files changed, 24 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9854cbdcf89..a531d0214f8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = libbitcoin-system
pkgdesc = Bitcoin Cross-Platform C++ Development Toolkit
- pkgver = 3.5.0
- pkgrel = 2
- url = https://github.com/libbitcoin/libbitcoin
+ pkgver = 20190105
+ pkgrel = 1
+ url = https://github.com/libbitcoin/libbitcoin-system
arch = aarch64
arch = arm
arch = armv6h
@@ -25,12 +25,9 @@ pkgbase = libbitcoin-system
depends = libpng
depends = libsecp256k1
depends = qrencode
- provides = libbitcoin
- provides = libbitcoin-system
- conflicts = libbitcoin
- source = libbitcoin-system-3.5.0.tar.gz::https://codeload.github.com/libbitcoin/libbitcoin-system/tar.gz/v3.5.0
- source = git+https://github.com/libbitcoin/libbitcoin.wiki
- sha256sums = 214d9cd6581330b0e1f6fd8f0c634c46b75ae5515806ecac189f21c0291ae2d9
+ source = git+https://github.com/libbitcoin/libbitcoin-system#tag=v3.6.0
+ source = git+https://github.com/libbitcoin/libbitcoin-system.wiki
+ sha256sums = SKIP
sha256sums = SKIP
pkgname = libbitcoin-system
diff --git a/PKGBUILD b/PKGBUILD
index 4b352d35322..81d52e54b83 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"