[arch-commits] Commit in sratom/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Feb 18 22:49:01 UTC 2018
Date: Sunday, February 18, 2018 @ 22:48:53
Author: dvzrv
Revision: 296265
upgpkg: sratom 0.6.0-2
Adding unit tests in check().
Modified:
sratom/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-18 22:40:38 UTC (rev 296264)
+++ PKGBUILD 2018-02-18 22:48:53 UTC (rev 296265)
@@ -5,7 +5,7 @@
pkgname=sratom
pkgver=0.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="An LV2 Atom RDF serialisation library"
arch=('x86_64')
url="https://drobilla.net/software/sratom/"
@@ -25,10 +25,17 @@
build() {
cd "${pkgname}-${pkgver}"
- python waf configure --prefix=/usr
+ python waf configure --prefix=/usr \
+ --test
python waf build
}
+check() {
+ cd "${pkgname}-${pkgver}"
+ python waf test --verbose-tests
+}
+
+
package() {
cd "${pkgname}-${pkgver}"
python waf install --destdir="${pkgdir}"
More information about the arch-commits
mailing list