diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-24 13:45:33 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-08 12:23:29 +0200 |
commit | 7d2d51139d2968b09f8172a23cecf4d7fb33c31f (patch) | |
tree | 6ce382e5a44d1f460051312d5dbcf21bf2b4f25b | |
parent | 473373c1533714f6ac77508e50f827d493d908e8 (diff) | |
download | pkgbuilds-7d2d51139d2968b09f8172a23cecf4d7fb33c31f.tar.xz |
src-git: Add check function
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -2,7 +2,7 @@ # Mon Jun 1 13:54:26 UTC 2015 pkgbase = src-git pkgdesc = Simple Revision Control with modern UI for single-file projects - pkgver = 0.12.r2.g80ab9e0 + pkgver = 0.13.r0.g51d7a34 pkgrel = 1 url = http://www.catb.org/esr/src/ arch = any @@ -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 |