[arch-commits] Commit in foomatic-db-engine/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Nov 12 13:50:33 UTC 2017
Date: Sunday, November 12, 2017 @ 13:50:20
Author: foutrelis
Revision: 309640
archrelease: copy trunk to staging-x86_64
Added:
foomatic-db-engine/repos/staging-x86_64/
foomatic-db-engine/repos/staging-x86_64/PKGBUILD
(from rev 309639, foomatic-db-engine/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: foomatic-db-engine/repos/staging-x86_64/PKGBUILD (from rev 309639, foomatic-db-engine/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-11-12 13:50:20 UTC (rev 309640)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=foomatic-db-engine
+arch=('i686' 'x86_64')
+pkgver=4.0.12
+pkgrel=7
+epoch=4
+url="http://www.linuxprinting.org/foomatic.html"
+pkgdesc="Foomatic - Foomatic's database engine generates PPD files from the data in Foomatic's XML database. It also contains scripts to directly generate print queues and handle jobs."
+license=('GPL2')
+depends=('perl' 'libxml2' "cups-filters>=1.0.42" 'bash' 'perl-xml-libxml' 'perl-clone' 'perl-dbi')
+makedepends=('cups' 'ghostscript' 'a2ps' 'wget' 'perl-xml-libxml' 'foomatic-db') # 'enscript' 'net-snmp'
+optdepends=('foomatic-db: linuxprinting.org xml files database to create ppd driver files')
+backup=('etc/foomatic/defaultspooler')
+source=(https://www.openprinting.org/download/foomatic/$pkgname-$pkgver.tar.gz)
+md5sums=('b8049e61a3dad76044e83dde0087e0a0')
+
+build() {
+ export LIB_CUPS="/usr/lib/cups"
+ cd $pkgname-$pkgver
+ PERL_INSTALLDIRS=vendor \
+ ./configure --prefix=/usr \
+ --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR=${pkgdir} install
+
+ # preset default spooler
+ echo cups > ${pkgdir}/etc/foomatic/defaultspooler
+ # add some docs
+ install -Dm644 USAGE ${pkgdir}/usr/share/doc/${pkgname}/USAGE
+ install -Dm644 README ${pkgdir}/usr/share/doc/${pkgname}/README
+
+ # cleanup
+ rm -r ${pkgdir}/usr/lib/perl5
+}
More information about the arch-commits
mailing list