summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Osvaldo Barrera2017-09-19 19:00:42 -0300
committerHugo Osvaldo Barrera2017-09-19 19:00:42 -0300
commitb6a3791a5648c38f7205e8f8ee89a38176f252c1 (patch)
treef10ade2bcff20f3c5773a7a2b01a855cb77c3396
parent00b2b209db395bf1fadfdfd3427dbb9994b5cf4d (diff)
downloadaur-b6a3791a5648c38f7205e8f8ee89a38176f252c1.tar.gz
Run checks after packaging
-rw-r--r--PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 808d9a54a57..a189a99c9c7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,6 +28,11 @@ pkgver() {
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
+check() {
+ cd "$srcdir/${_pkgname}-$pkgver"
+ make test
+}
+
build() {
# Build vdirsyncer
cd "${srcdir}/${_pkgname}"