[arch-commits] Commit in gutenprint/trunk (PKGBUILD gutenprint.install)

Andreas Radke andyrtr at nymeria.archlinux.org
Sun May 19 12:13:14 UTC 2013


    Date: Sunday, May 19, 2013 @ 14:13:13
  Author: andyrtr
Revision: 185817

upgpkg: gutenprint 5.2.9-2

move to /usr/bin

Modified:
  gutenprint/trunk/PKGBUILD
  gutenprint/trunk/gutenprint.install

--------------------+
 PKGBUILD           |   11 ++++++++++-
 gutenprint.install |    2 +-
 2 files changed, 11 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-19 12:09:03 UTC (rev 185816)
+++ PKGBUILD	2013-05-19 12:13:13 UTC (rev 185817)
@@ -3,7 +3,7 @@
 
 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 @@
 
 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 \

Modified: gutenprint.install
===================================================================
--- gutenprint.install	2013-05-19 12:09:03 UTC (rev 185816)
+++ gutenprint.install	2013-05-19 12:13:13 UTC (rev 185817)
@@ -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"
 }
 




More information about the arch-commits mailing list