mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
gutenprint: moved to desktop
This commit is contained in:
parent
4a22007d5c
commit
00599e4270
34
gutenprint/PKGBUILD
Normal file
34
gutenprint/PKGBUILD
Normal 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
|
||||
}
|
||||
|
9
gutenprint/gutenprint.install
Normal file
9
gutenprint/gutenprint.install
Normal file
@ -0,0 +1,9 @@
|
||||
post_install() {
|
||||
echo ">>please run /usr/sbin/cups-genppdupdate"
|
||||
echo ">>and restart cups deamon"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user