summaryrefslogtreecommitdiff
path: root/testing/gutenprint
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-14 00:01:48 +0000
committerroot <root@rshg054.dnsready.net>2012-06-14 00:01:48 +0000
commit35c30674b2b901077a809a6f1d8e5a0115098c8b (patch)
treebac1c7d0c5b1651fef436eb13be31506b5aa60b1 /testing/gutenprint
parentf46e734fbcd0b4cbae2cff1a017b95e4e8e02d53 (diff)
Thu Jun 14 00:01:48 UTC 2012
Diffstat (limited to 'testing/gutenprint')
-rw-r--r--testing/gutenprint/PKGBUILD40
-rw-r--r--testing/gutenprint/gutenprint.install9
2 files changed, 49 insertions, 0 deletions
diff --git a/testing/gutenprint/PKGBUILD b/testing/gutenprint/PKGBUILD
new file mode 100644
index 000000000..3924bec62
--- /dev/null
+++ b/testing/gutenprint/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 161638 2012-06-12 18:43:43Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=gutenprint
+pkgver=5.2.8
+pkgrel=1
+pkgdesc="Top quality printer drivers for POSIX systems"
+arch=('i686' 'x86_64')
+license=('GPL')
+install=gutenprint.install
+depends=('readline' 'gnutls>=2.12.3') # needs to be checked. build log says -Lgnutls but namcap doesn't detect it
+makedepends=('gimp>=2.6.11' 'gtk2>=2.24.4' 'cups>=1.4.6' 'foomatic-db-engine' 'ghostscript>=9.02')
+optdepends=('cups: to use cups printer spooler(recommended)'
+ 'foomatic-db-engine: to use foomatic spooler'
+ 'ghostscript: adds postscript support for ijsgutenprint'
+ 'gimp: adds gutenprint plugin to gimp')
+source=(http://downloads.sourceforge.net/gimp-print/$pkgname-$pkgver.tar.bz2)
+url="http://gimp-print.sourceforge.net/"
+replaces=('gimp-print')
+options=('!libtool' '!emptydirs')
+md5sums=(5ed64c0f994245852da8e9fa6a137060'')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --enable-samples \
+ --enable-cups-ppds \
+ --enable-cups-ppds-at-top-level \
+ --disable-translated-cups-ppds \
+ --disable-globalized-cups-ppds \
+ --disable-static \
+ --disable-static-genppd
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
+
diff --git a/testing/gutenprint/gutenprint.install b/testing/gutenprint/gutenprint.install
new file mode 100644
index 000000000..05e8bec38
--- /dev/null
+++ b/testing/gutenprint/gutenprint.install
@@ -0,0 +1,9 @@
+post_install() {
+ echo ">>please run /usr/sbin/cups-genppdupdate"
+ echo ">>and restart cups deamon"
+}
+
+post_upgrade() {
+ post_install
+}
+