From 7d2d51139d2968b09f8172a23cecf4d7fb33c31f Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 24 Nov 2014 13:45:33 +0100 Subject: src-git: Add check function --- PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 1d65ae1..4d4bfd4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,5 +1,5 @@ pkgname=src-git -pkgver=0.12.r2.g80ab9e0 +pkgver=0.13.r0.g51d7a34 pkgrel=1 pkgdesc="Simple Revision Control with modern UI for single-file projects" @@ -20,6 +20,11 @@ pkgver() { git describe --long | sed -r 's/([^-]*-g)/r\1/; s/-/./g' } +check() { + cd src-vcs + make check +} + package() { cd src-vcs make DESTDIR="$pkgdir" prefix=/usr install -- cgit v1.2.3-70-g09d2