[arch-commits] Commit in zeitgeist/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Wed Apr 25 02:16:48 UTC 2012
Date: Tuesday, April 24, 2012 @ 22:16:48
Author: eric
Revision: 157147
Add check function
Modified:
zeitgeist/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++++
1 file changed, 6 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-04-25 02:04:52 UTC (rev 157146)
+++ PKGBUILD 2012-04-25 02:16:48 UTC (rev 157147)
@@ -12,6 +12,7 @@
license=('GPL')
depends=('dbus-python' 'python2-gobject2' 'pyxdg' 'xapian-core')
makedepends=('intltool' 'raptor' 'python2-rdflib')
+checkdepends=('vala')
source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.bz2{,.asc})
md5sums=('fc2706611f435a027cd520f0da0982d7'
'96e74a5050bf0daa961dd56b0f73fd5d')
@@ -24,6 +25,11 @@
make
}
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make check
+}
+
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" zeitgeistdocdir=/usr/share/doc/zeitgeist install
More information about the arch-commits
mailing list