summaryrefslogtreecommitdiff
path: root/libre/foomatic-filters-libre/PKGBUILD
blob: 73a7af6c4c2b10edc0d03ee8d8661811eab67620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id$
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor (Parabola): André Silva <emulatorman@lavabit.com>
 
pkgbase="foomatic"
pkgname=('foomatic-filters-libre')
arch=('i686' 'x86_64' 'mips64el') # needs to be changed  in the subpackages when makepkg will support it
_snapdate=20120712
_filtersver=4.0.17
pkgver=${_filtersver}_${_snapdate}
pkgrel=1
epoch=1
makedepends=('cups' 'perl' 'libxml2' 'enscript' 'perl' 'net-snmp' 'bash')
source=(http://www.openprinting.org/download/foomatic/$pkgbase-filters-${_filtersver}.tar.gz)
url="http://www.linuxprinting.org/foomatic.html"
options=('!emptydirs')
md5sums=('b05f5dcbfe359f198eef3df5b283d896')

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
}