summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 11 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a346e42aa33..497e183acae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Mar 8 17:45:43 UTC 2017
+# Wed Mar 8 20:26:53 UTC 2017
pkgbase = libbitcoin-server-git
pkgdesc = Bitcoin Full Node and Query Server
pkgver = 20170307
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/libbitcoin/libbitcoin-server
install = bs.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index b2f5555a1bf..2a643546c6d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libbitcoin-server-git
pkgver=20170307
-pkgrel=1
+pkgrel=2
pkgdesc="Bitcoin Full Node and Query Server"
arch=('i686' 'x86_64')
depends=('boost'
@@ -77,11 +77,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 ${pkgname%-git}
+
+ msg2 'Testing...'
+ make -j$(($(nproc)/2)) check
+}
+
package() {
cd ${pkgname%-git}