summaryrefslogtreecommitdiff
path: root/libre/foomatic-filters-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-05-19 13:46:51 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-05-19 13:46:51 -0300
commit9867794d2edcb23d24ebfc271b045f652bd29c2c (patch)
tree96cfa6a22602d24c372a6c66d21ef18b79037526 /libre/foomatic-filters-libre
parentf19e0cd4673a5137bf8422570b03a7488b78d653 (diff)
new pkgbuild to compile only foomatic-filters-libre that forms part from foomatic base
Diffstat (limited to 'libre/foomatic-filters-libre')
-rw-r--r--libre/foomatic-filters-libre/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/libre/foomatic-filters-libre/PKGBUILD b/libre/foomatic-filters-libre/PKGBUILD
new file mode 100644
index 000000000..85627d160
--- /dev/null
+++ b/libre/foomatic-filters-libre/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 155770 2012-04-06 10:08:29Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy>
+
+pkgbase="foomatic"
+pkgname=('foomatic-filters-libre')
+arch=('i686' 'x86_64' 'mips64el') # needs to be changed in the subpackages when makepkg will support it
+_snapdate=20120406
+_filtersver=4.0.15
+pkgver=${_filtersver}_${_snapdate}
+pkgrel=1.1
+makedepends=('cups' 'perl' 'libxml2' 'enscript' 'perl' 'net-snmp' 'bash')
+#_url=http://www.openprinting.org/download/foomatic/ # switch after build
+_url=ftp://ftp.archlinux.org/other/foomatic/
+source=(${_url}/$pkgbase-filters-${_filtersver}.tar.gz)
+url="http://www.linuxprinting.org/foomatic.html"
+options=('!emptydirs')
+md5sums=('1b7efcdc57340915647daa5b5c15b0ef')
+
+package_foomatic-filters-libre() {
+
+ pkgdesc="Foomatic - Filter scripts used by the printer spoolers to convert the incoming PostScript data into the printer's native format."
+# arch=('i686' 'x86_64')
+ license=('GPL')
+ backup=(etc/foomatic/filter.conf)
+ depends=('glibc' 'dbus-core')
+ provides=("foomatic-filters=${pkgver}")
+ replaces=('foomatic-filters')
+ conflicts=('foomatic-filters')
+ optdepends=('perl: for the "beh" Backend End Handler used by cups'
+ 'net-snmp: certain (mostly HP) printers need it to work')
+
+ cd ${srcdir}/foomatic-filters-${_filtersver}
+ rm -rfv test/{lsbfuncs,shfuncs,tcm,tetapi}.sh
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+ make DESTDIR=${pkgdir} install
+}