aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-24 13:45:33 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-08 12:23:29 +0200
commit7d2d51139d2968b09f8172a23cecf4d7fb33c31f (patch)
tree6ce382e5a44d1f460051312d5dbcf21bf2b4f25b
parent473373c1533714f6ac77508e50f827d493d908e8 (diff)
downloadpkgbuilds-7d2d51139d2968b09f8172a23cecf4d7fb33c31f.tar.xz
src-git: Add check function
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7b5d566..e79be13 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
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