diff options
Diffstat (limited to 'extra/gutenprint/PKGBUILD')
-rw-r--r-- | extra/gutenprint/PKGBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/extra/gutenprint/PKGBUILD b/extra/gutenprint/PKGBUILD index df77560b1..47d3ffcc7 100644 --- a/extra/gutenprint/PKGBUILD +++ b/extra/gutenprint/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 163174 2012-07-08 10:42:54Z andyrtr $ +# $Id: PKGBUILD 185818 2013-05-19 12:13:34Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> pkgname=gutenprint pkgver=5.2.9 -pkgrel=1 +pkgrel=2 pkgdesc="Top quality printer drivers for POSIX systems" arch=('i686' 'x86_64' 'mips64el') license=('GPL') @@ -23,7 +23,16 @@ md5sums=('aefbec27b96dd404d9ac9811e17d58ce') build() { cd ${srcdir}/${pkgname}-${pkgver} + + # sbindir is not properly taken over there + sed -i "s:cups_sbindir=\"\/usr\/sbin\":cups_sbindir=\"\/usr\/bin\":g" m4/stp_cups.m4 + sed -i "s:cups_sbindir=\"\${cups_prefix}\/sbin\":cups_sbindir=\"\${cups_prefix}\/bin\":" m4/stp_cups.m4 + + sed -i "s:m4local:m4extra:" Makefile.am + autoreconf -vfi + ./configure --prefix=/usr \ + --sbindir=/usr/bin \ --enable-samples \ --enable-cups-ppds \ --enable-cups-ppds-at-top-level \ |