Add 'check' function

This commit is contained in:
Christopher Arndt 2020-09-27 23:37:30 +02:00
parent 171acf3d50
commit 9116f39eb9
2 changed files with 9 additions and 4 deletions

View file

@ -1,6 +1,6 @@
pkgbase = sord-git
pkgdesc = Lightweight C library for storing RDF statements in memory (git version)
pkgver = 0.16.4.r421.61d9657
pkgver = 0.16.6.r446.3faa8cc
pkgrel = 1
url = http://drobilla.net/software/sord/
arch = i686
@ -11,7 +11,7 @@ pkgbase = sord-git
depends = pcre
depends = serd
provides = sord
provides = sord=0.16.4
provides = sord=0.16.6
provides = libsord-0.so
conflicts = sord
conflicts = sord-svn

View file

@ -2,7 +2,7 @@
_pkgname=sord
pkgname="${_pkgname}-git"
pkgver=0.16.4.r421.61d9657
pkgver=0.16.6.r446.3faa8cc
pkgrel=1
pkgdesc="Lightweight C library for storing RDF statements in memory (git version)"
arch=('i686' 'x86_64')
@ -39,10 +39,15 @@ prepare() {
build() {
cd "${srcdir}/${_pkgname}"
python ./waf configure --prefix=/usr
python ./waf configure --prefix=/usr --test
python waf build $MAKEFLAGS
}
check() {
cd "${srcdir}/${_pkgname}"
python waf test -v
}
package() {
cd "${srcdir}/${_pkgname}"