diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-08-06 08:40:37 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-08-06 08:40:37 -0300 |
commit | 766f22857d4ea2453c9fb30aa1d8eca698334033 (patch) | |
tree | 2b4e032b47c28c0b3360f9496ac1098fa9b21fe0 /libre/cups-filters-libre/PKGBUILD | |
parent | 502690a5c1c79b1fb9df696ca511f0b5934b9275 (diff) |
cups-filters-libre-1.0.35-4: add more upstream fixes and rebuild against poppler
Diffstat (limited to 'libre/cups-filters-libre/PKGBUILD')
-rw-r--r-- | libre/cups-filters-libre/PKGBUILD | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/libre/cups-filters-libre/PKGBUILD b/libre/cups-filters-libre/PKGBUILD index 6921ab67c..1304844bd 100644 --- a/libre/cups-filters-libre/PKGBUILD +++ b/libre/cups-filters-libre/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 189893 2013-07-10 19:19:27Z andyrtr $ +# $Id: PKGBUILD 191975 2013-08-03 07:52:29Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> pkgname=cups-filters-libre _pkgname=cups-filters pkgver=1.0.35 -pkgrel=2 +pkgrel=4 pkgdesc="OpenPrinting CUPS Filters, without foomatic-db-nonfree recommendation" arch=('i686' 'x86_64') url="http://www.linuxfoundation.org/collaborate/workgroups/openprinting" @@ -18,15 +18,21 @@ backup=(etc/fonts/conf.d/99pdftoopvp.conf etc/cups/cups-browsed.conf) options=(!libtool) source=(http://www.openprinting.org/download/cups-filters/$_pkgname-$pkgver.tar.gz + poppler_buildfix.diff cups-browsed.service) md5sums=('26f150f1e9ce1f7b0f38ae4ebb01e23d' + 'e898ddcb65fb08d96595eac24fe0b1ac' '9ef68d7c2a84713fd421f4e87dec0a6e') replaces=("${_pkgname}") conflicts=("${_pkgname}") provides=("${_pkgname}=${pkgver}") build() { - cd "$srcdir/$_pkgname-$pkgver" + cd $_pkgname-$pkgver + + # fix build with poppler 0.24.0 + patch -Np0 -i ${srcdir}/poppler_buildfix.diff + ./configure --prefix=/usr \ --sysconfdir=/etc \ --sbindir=/usr/bin \ @@ -38,12 +44,13 @@ build() { } check() { - cd "$srcdir/$_pkgname-$pkgver" - make -j1 -k check + cd $_pkgname-$pkgver + #make -j1 -k check + make check } package() { - cd "$srcdir/$_pkgname-$pkgver" + cd $_pkgname-$pkgver make DESTDIR="$pkgdir/" install # drop static lib rm -f ${pkgdir}/usr/lib/*.a |