summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2017-03-08 12:25:58 -0800
committerAndy Weidenbaum2017-03-08 12:25:58 -0800
commit841e765ba1f65c21d11c99180fbb21b073755567 (patch)
tree15e3cdda8715d467e66a74d72a183532795ac744
parent93c988260bcb10b8ea060c5a53465cf85c8152a9 (diff)
downloadaur-841e765ba1f65c21d11c99180fbb21b073755567.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 c6bd3a0666e..c887efe881a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Mar 8 16:48:18 UTC 2017
+# Wed Mar 8 20:24:46 UTC 2017
pkgbase = libbitcoin-server
pkgdesc = Bitcoin Full Node and Query Server
pkgver = 3.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/libbitcoin/libbitcoin-server
install = bs.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 2338b812ea8..f5bd9c1783e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libbitcoin-server
pkgver=3.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Bitcoin Full Node and Query Server"
arch=('i686' 'x86_64')
depends=('boost'
@@ -70,11 +70,17 @@ build() {
--sharedstatedir=/usr/share/libbitcoin-server \
--localstatedir=/var/lib/libbitcoin-server \
--with-bash-completiondir=/usr/share/bash-completion/completions \
- --with-gnu-ld \
- --without-tests
+ --with-gnu-ld
make -j$(($(nproc)/2))
}
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ msg2 'Testing...'
+ make -j$(($(nproc)/2)) check
+}
+
package() {
cd "$srcdir/$pkgname-$pkgver"