From 00599e427067b6299871a0900aaf44959442215c Mon Sep 17 00:00:00 2001 From: Francesco Marinucci Date: Tue, 6 Jun 2017 22:11:15 +0100 Subject: [PATCH] gutenprint: moved to desktop --- gutenprint/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ gutenprint/gutenprint.install | 9 +++++++++ 2 files changed, 43 insertions(+) create mode 100644 gutenprint/PKGBUILD create mode 100644 gutenprint/gutenprint.install diff --git a/gutenprint/PKGBUILD b/gutenprint/PKGBUILD new file mode 100644 index 000000000..6881aa3a0 --- /dev/null +++ b/gutenprint/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=gutenprint +pkgver=5.2.12 +pkgrel=1 +pkgdesc="Top quality printer drivers for POSIX systems." +arch=('x86_64') +license=('GPL') +install=gutenprint.install +depends=('glibc' 'readline') +makedepends=('cups>=1.4.2' 'foomatic-db-engine' 'ghostscript>=8.71') +optdepends=('cups: to use cups printer spooler(recommended)' + 'foomatic-db-engine: to use foomatic spooler' + 'ghostscript: adds postscript support for ijsgutenprint') +source=("http://downloads.sourceforge.net/gimp-print/$pkgname-$pkgver.tar.bz2") +url="http://gimp-print.sourceforge.net/" +replaces=('gimp-print') +options=('!emptydirs') +md5sums=('9789107b577d1338c1d189993ea99eef') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr --disable-samples --with-cups \ + --disable-translated-cups-ppds \ + --enable-cups-ppds --enable-cups-ppds-at-top-level \ + --with-foomatic --with-foomatic3 --with-ghostscript \ + --disable-globalized-cups-ppds + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} + diff --git a/gutenprint/gutenprint.install b/gutenprint/gutenprint.install new file mode 100644 index 000000000..05e8bec38 --- /dev/null +++ b/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 +} +