summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2017-03-08 12:27:05 -0800
committerAndy Weidenbaum2017-03-08 12:27:05 -0800
commita3feba99745e25f5c480c81aa9ed248083caa55f (patch)
tree2b57a9680770eeb9429cc02a80f66dbf074bdbd5
parent6c6303e0e0661ab9b8fb6f612ff1d6a1beae0c22 (diff)
downloadaur-a3feba99745e25f5c480c81aa9ed248083caa55f.tar.gz
increment pkgrel to 2; run tests
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 11 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e50a0142b509..01b4da816deb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Mar 8 17:45:39 UTC 2017
+# Wed Mar 8 20:26:48 UTC 2017
pkgbase = libbitcoin-consensus-git
pkgdesc = Bitcoin Consensus Library
pkgver = 20170212
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/libbitcoin/libbitcoin-consensus
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index b6292fce003f..1fa5098496f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libbitcoin-consensus-git
pkgver=20170212
-pkgrel=1
+pkgrel=2
pkgdesc="Bitcoin Consensus Library"
arch=('i686' 'x86_64')
depends=('boost'
@@ -41,11 +41,17 @@ build() {
--sysconfdir=/etc \
--sharedstatedir=/usr/share/libbitcoin-consensus \
--localstatedir=/var/lib/libbitcoin-consensus \
- --with-gnu-ld \
- --without-tests
+ --with-gnu-ld
make -j$(($(nproc)/2))
}
+check() {
+ cd ${pkgname%-git}
+
+ msg2 'Testing...'
+ make -j$(($(nproc)/2)) check
+}
+
package() {
cd ${pkgname%-git}