mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
35 lines
1.0 KiB
Bash
35 lines
1.0 KiB
Bash
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
|
|
}
|
|
|