gutenprint: moved to desktop

This commit is contained in:
Francesco Marinucci 2017-06-06 22:11:15 +01:00
parent 4a22007d5c
commit 00599e4270
2 changed files with 43 additions and 0 deletions

34
gutenprint/PKGBUILD Normal file
View File

@ -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
}

View File

@ -0,0 +1,9 @@
post_install() {
echo ">>please run /usr/sbin/cups-genppdupdate"
echo ">>and restart cups deamon"
}
post_upgrade() {
post_install
}