[arch-commits] Commit in sord/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Feb 18 23:10:49 UTC 2018
Date: Sunday, February 18, 2018 @ 23:10:49
Author: dvzrv
Revision: 296271
upgpkg: sord 0.16.0-2
Adding unit tests in check().
Modified:
sord/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-18 23:06:50 UTC (rev 296270)
+++ PKGBUILD 2018-02-18 23:10:49 UTC (rev 296271)
@@ -1,10 +1,11 @@
# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
# Maintainer: Ray Rashif <schiv at archlinux.org>
# Contributor: speps <speps at aur dot archlinux dot org>
pkgname=sord
pkgver=0.16.0
-pkgrel=1
+pkgrel=2
pkgdesc="A lightweight C library for storing RDF data in memory"
arch=('x86_64')
url="https://drobilla.net/software/sord/"
@@ -14,7 +15,7 @@
source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.asc})
sha512sums=('e18c6de62f2cbffedd4c200f6452f4fd37f719aed764ccc1b77c8da04a0f3394d47e8b57e19eefd6d600770926f505fdfa5da91564bbff5f4ead49f1adaba249'
'SKIP')
-validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard
prepare() {
cd "${pkgname}-${pkgver}"
@@ -24,10 +25,16 @@
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