mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
36 lines
1.4 KiB
Bash
36 lines
1.4 KiB
Bash
|
# $Id: PKGBUILD 49202 2009-08-04 19:49:46Z andyrtr $
|
||
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||
|
|
||
|
pkgname=gutenprint
|
||
|
pkgver=5.2.4
|
||
|
pkgrel=1
|
||
|
pkgdesc="Top quality printer drivers for POSIX systems"
|
||
|
arch=('i686' 'x86_64')
|
||
|
license=('GPL')
|
||
|
install=gutenprint.install
|
||
|
depends=('readline' 'gnutls>=2.8.1')
|
||
|
makedepends=('gimp>=2.6.6' 'gtk2>=2.16.5' 'cups>=1.3.11' 'foomatic-db-engine' 'ghostscript>=8.70')
|
||
|
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=('4b0ecc20f3fc68e67c76991cc8516fe7')
|
||
|
|
||
|
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 || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR=${pkgdir} install || return 1
|
||
|
}
|
||
|
|