[arch-commits] Commit in librsync/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat Mar 14 13:20:27 UTC 2015


    Date: Saturday, March 14, 2015 @ 14:20:27
  Author: foutrelis
Revision: 129245

Add check() function to run tests

Modified:
  librsync/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++++
 1 file changed, 5 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-14 13:14:45 UTC (rev 129244)
+++ PKGBUILD	2015-03-14 13:20:27 UTC (rev 129245)
@@ -26,6 +26,11 @@
   make
 }
 
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make -k check
+}
+
 package() {
   cd "$srcdir/$pkgname-$pkgver"
   make DESTDIR="$pkgdir" install



More information about the arch-commits mailing list