diff options
author | Will Handley | 2019-07-12 07:23:25 +0100 |
---|---|---|
committer | Will Handley | 2019-07-12 07:23:25 +0100 |
commit | 9c1febba2349a7b6a768732f1b87c85e5760e2ca (patch) | |
tree | dad60cbad03210b3d6553c99c0019952dc758285 | |
parent | b7e251f59ab0a15781e9de31fc3329ca608f3d00 (diff) | |
download | aur-9c1febba2349a7b6a768732f1b87c85e5760e2ca.tar.gz |
Added checks
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = python-camb pkgdesc = Code for Anisotropies in the Microwave Background pkgver = 1.0.5 - pkgrel = 1 + pkgrel = 2 url = https://github.com/cmbant/CAMB arch = any license = custom @@ -2,7 +2,7 @@ _modulename=camb pkgname=python-$_modulename pkgver=1.0.5 -pkgrel=1 +pkgrel=2 pkgdesc="Code for Anisotropies in the Microwave Background" arch=(any) url="https://github.com/cmbant/CAMB" @@ -23,3 +23,7 @@ package() { python setup.py install --root="$pkgdir/" --optimize=1 install -D -m644 $srcdir/../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } +check() { + cd "$srcdir/CAMB-$pkgver/" + python setup.py test +} |