mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 02:17:14 +08:00
cups-pdf: update to 3.0.0
This commit is contained in:
parent
f762e217f3
commit
b3a113e303
@ -1,22 +1,20 @@
|
||||
# maintainer (x86_64): AlmAck
|
||||
|
||||
pkgname=cups-pdf
|
||||
pkgver=2.6.1
|
||||
pkgver=3.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="PDF printer for cups"
|
||||
arch=(x86_64)
|
||||
depends=('cups' 'ghostscript')
|
||||
install=cups-pdf.install
|
||||
url="http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
|
||||
url="http://www.cups-pdf.de/"
|
||||
license=('GPL2')
|
||||
source=(http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/cups-pdf_$pkgver.tar.gz)
|
||||
backup=(etc/cups/cups-pdf.conf)
|
||||
md5sums=('65f3fd525c4a9b1d736b91594b3166d5')
|
||||
md5sums=('afc8d4f8db5e69ac4379b0c0006a654d')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver/src
|
||||
[ -z "$CC" ] && CC=gcc
|
||||
$CC $CFLAGS -Wall -o cups-pdf cups-pdf.c
|
||||
$CC $CFLAGS -s cups-pdf.c -o cups-pdf -lcups
|
||||
}
|
||||
|
||||
package() {
|
||||
@ -25,10 +23,14 @@ package() {
|
||||
|
||||
# Install Postscript Color printer
|
||||
cd ../extra
|
||||
install -D -m644 CUPS-PDF.ppd $pkgdir/usr/share/cups/model/CUPS-PDF.ppd
|
||||
install -D -m644 CUPS-PDF_noopt.ppd $pkgdir/usr/share/cups/model/CUPS-PDF_noopt.ppd
|
||||
install -D -m644 CUPS-PDF_opt.ppd $pkgdir/usr/share/cups/model/CUPS-PDF_opt.ppd
|
||||
|
||||
# Install config file
|
||||
install -D -m644 cups-pdf.conf $pkgdir/etc/cups/cups-pdf.conf
|
||||
|
||||
# Install docs
|
||||
install -D -m 644 ../README "$pkgdir"/usr/share/doc/$pkgname/README
|
||||
|
||||
# use lp group from cups pkg
|
||||
chgrp -R lp ${pkgdir}/etc/cups
|
||||
|
Loading…
Reference in New Issue
Block a user