diff options
-rw-r--r-- | libre-testing/libretools/PKGBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/libre-testing/libretools/PKGBUILD b/libre-testing/libretools/PKGBUILD index 135cf44c1..430ab93d5 100644 --- a/libre-testing/libretools/PKGBUILD +++ b/libre-testing/libretools/PKGBUILD @@ -8,8 +8,8 @@ pkgdesc="Programs for Parabola development" url="https://projects.parabolagnulinux.org/packages/libretools.git/" license=('GPL3' 'GPL2') -pkgver=20130528.1 -_libretools_commit=b4341ef8e90abe99d188dc444ff837a7aba756fa +pkgver=20130528.2 +_libretools_commit=e5c22aaf01484e7fa5926952bbcacd56228dbb64 _devtools_commit=d197eacf8b7aba0796a0f6ac6ac1667564bd614e _packages_url=https://projects.parabolagnulinux.org/packages @@ -30,13 +30,21 @@ build() { check() { cd "$srcdir/$pkgbase-$_libretools_commit" + + # some tests require 'sudo'; trick those into passing + mkdir "$srcdir/bin" + ln -s $(which true) "$srcdir/bin/sudo" + _PATH=$PATH + export PATH="$srcdir/bin:$PATH" + make check + + export PATH=$_PATH } package_libretools() { backup=(etc/libretools.conf etc/libretools.d/chroot.conf etc/libretools.d/librefetch.conf) install=libretools.install - groups=(base-devel) replaces=(chroottools) depends=( @@ -63,5 +71,5 @@ package_libretools-mips64el() { make install-libretools-mips64el DESTDIR="$pkgdir" } -md5sums=('ddc7ae68f8451b7ac64347392bc26683' +md5sums=('47ff5308a56dd8ae2cf18b82a99b0021' '05b987e6b39c963154489ac6d01d0965') |