diff options
author | root <root@rshg047.dnsready.net> | 2011-05-08 22:33:52 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-08 22:33:52 +0000 |
commit | 886d3d0994eb8e9f3e797155619619e0ef1353f8 (patch) | |
tree | aecae53a57082f8f3e4b72755149285659c1bee3 /testing/gutenprint | |
parent | fe6dc99352fe2b801d251e55b2b8baa71441908e (diff) |
Sun May 8 22:33:51 UTC 2011
Diffstat (limited to 'testing/gutenprint')
-rw-r--r-- | testing/gutenprint/PKGBUILD | 39 | ||||
-rw-r--r-- | testing/gutenprint/gutenprint.install | 9 |
2 files changed, 48 insertions, 0 deletions
diff --git a/testing/gutenprint/PKGBUILD b/testing/gutenprint/PKGBUILD new file mode 100644 index 000000000..602d12bb4 --- /dev/null +++ b/testing/gutenprint/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 123069 2011-05-07 23:28:40Z stephane $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> + +pkgname=gutenprint +pkgver=5.2.7 +pkgrel=2 +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=('b19029972bf28f6efd693270daf8f5de') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --disable-samples --with-cups --with-gimp2 \ + --disable-translated-cups-ppds --with-gimp2-as-gutenprint \ + --disable-libgutenprintui --enable-libgutenprintui2 --disable-gtktest \ + --enable-cups-ppds --enable-cups-ppds-at-top-level \ + --with-foomatic --with-foomatic3 --with-ghostscript \ + --disable-static --disable-static-genppd --with-ijs \ + --disable-globalized-cups-ppds + 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 +} + |