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 --- .SRCINFO | 2 +- PKGBUILD | 7 ++++++- 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 -- cgit v1.2.3-70-g09d2