summaryrefslogtreecommitdiff
path: root/extra/gutenprint
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gutenprint')
-rw-r--r--extra/gutenprint/PKGBUILD13
-rw-r--r--extra/gutenprint/gutenprint.install2
2 files changed, 12 insertions, 3 deletions
diff --git a/extra/gutenprint/PKGBUILD b/extra/gutenprint/PKGBUILD
index e327af6ae..4a8c6e516 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')
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 \
diff --git a/extra/gutenprint/gutenprint.install b/extra/gutenprint/gutenprint.install
index 05e8bec38..1a042e97a 100644
--- a/extra/gutenprint/gutenprint.install
+++ b/extra/gutenprint/gutenprint.install
@@ -1,5 +1,5 @@
post_install() {
- echo ">>please run /usr/sbin/cups-genppdupdate"
+ echo ">>please run /usr/bin/cups-genppdupdate"
echo ">>and restart cups deamon"
}