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

Jan Steffens heftig at archlinux.org
Sat Aug 29 22:27:03 UTC 2015


    Date: Sunday, August 30, 2015 @ 00:27:02
  Author: heftig
Revision: 245073

fix running tests

Modified:
  harfbuzz/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-29 22:16:38 UTC (rev 245072)
+++ PKGBUILD	2015-08-29 22:27:02 UTC (rev 245073)
@@ -9,10 +9,15 @@
 arch=(i686 x86_64)
 url="http://www.freedesktop.org/wiki/Software/HarfBuzz"
 license=(MIT)
-makedepends=(glib2 freetype2 graphite cairo icu gobject-introspection python2)
+makedepends=(glib2 freetype2 graphite cairo icu gobject-introspection)
 source=(http://www.freedesktop.org/software/harfbuzz/release/${pkgbase}-${pkgver}.tar.bz2)
 sha256sums=('beb3caf8654010fcdca61c810a3a7532237fc567ee4271deb674b5efbbe3b466')
 
+prepare() {
+  mkdir path
+  ln -s /usr/bin/python2 path/python
+}
+
 build() {
   cd $pkgbase-$pkgver
   ./configure --prefix=/usr \
@@ -23,7 +28,7 @@
 
 check() {
   cd $pkgbase-$pkgver
-  make -k check || :
+  PATH="$srcdir/path:$PATH" make -k check
 }
 
 package_harfbuzz() {



More information about the arch-commits mailing list