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

Andreas Radke andyrtr at archlinux.org
Sun May 24 15:53:03 UTC 2020


    Date: Sunday, May 24, 2020 @ 15:53:02
  Author: andyrtr
Revision: 387503

also run tests

Modified:
  enchant/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-24 15:36:45 UTC (rev 387502)
+++ PKGBUILD	2020-05-24 15:53:02 UTC (rev 387503)
@@ -11,6 +11,7 @@
 license=('LGPL')
 depends=('glib2')
 makedepends=('boost' 'aspell' 'hunspell' 'hspell' 'nuspell' 'libvoikko')
+checkdepends=('unittestpp')
 optdepends=('aspell: for aspell based spell checking support'
            'hunspell: for hunspell based spell checking support'
            'libvoikko: for libvoikko based spell checking support'
@@ -28,11 +29,17 @@
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr \
-    --disable-static
+    --disable-static \
+    --enable-relocatable
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install



More information about the arch-commits mailing list