[arch-commits] Commit in shared-mime-info/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Sat May 2 11:04:54 UTC 2020


    Date: Saturday, May 2, 2020 @ 11:04:54
  Author: andyrtr
Revision: 382140

upgpkg: shared-mime-info 1.15+43+gd23e9fa-2: satisfy the testsuite

Modified:
  shared-mime-info/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-02 10:36:06 UTC (rev 382139)
+++ PKGBUILD	2020-05-02 11:04:54 UTC (rev 382140)
@@ -4,7 +4,7 @@
 pkgname=shared-mime-info
 _commit=d23e9fa537b84950cdb518f87e3bf1f3f2577523 # master
 pkgver=1.15+43+gd23e9fa
-pkgrel=1
+pkgrel=2
 pkgdesc="Freedesktop.org Shared MIME Info"
 arch=('x86_64')
 license=('GPL2')
@@ -41,19 +41,16 @@
 
   arch-meson ${pkgname} build \
     -D update-mimedb=false \
-    -D xdgmime-path=./xdgmime
+    -D xdgmime-path=${srcdir}/xdgmime
 
   # Print config
-#  meson configure build
+  meson configure build
   # compile it
   ninja -C build 
 }
 
 check() {
-  # one test failure not finding the file though it's there
-  # /build/shared-mime-info/src/shared-mime-info/tests/test_mime.sh: line 22: ./xdgmime/src/test-mime-data: No such file or directory
-  # https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/132
-  meson test -C build --print-errorlogs || /bin/true
+  meson test -C build --print-errorlogs
 }
 
 package() {


More information about the arch-commits mailing list