diff options
author | root <root@rshg054.dnsready.net> | 2012-04-08 00:02:42 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-08 00:02:42 +0000 |
commit | 37e364f033ed6db243d6db524075d8c5394c90f9 (patch) | |
tree | db3bb1bc5749bee5a51cb403c0b944b52cb10fc3 /extra/foomatic | |
parent | 2317ee13e2342fd8b81ffaf3a427fd4bb096ec28 (diff) |
Sun Apr 8 00:02:42 UTC 2012
Diffstat (limited to 'extra/foomatic')
-rw-r--r-- | extra/foomatic/PKGBUILD | 44 |
1 files changed, 20 insertions, 24 deletions
diff --git a/extra/foomatic/PKGBUILD b/extra/foomatic/PKGBUILD index 7efaa8a18..7fec6263b 100644 --- a/extra/foomatic/PKGBUILD +++ b/extra/foomatic/PKGBUILD @@ -1,28 +1,28 @@ -# $Id: PKGBUILD 130674 2011-07-07 16:52:03Z andyrtr $ +# $Id: PKGBUILD 155771 2012-04-06 10:09:10Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> pkgbase="foomatic" pkgname=('foomatic-db' 'foomatic-filters' 'foomatic-db-engine' 'foomatic-db-nonfree') arch=('i686' 'x86_64') # needs to be changed in the subpackages when makepkg will support it -_snapdate=20110707 -_relver=4.0.7 -pkgver=${_relver}_${_snapdate} +_snapdate=20120406 +_filtersver=4.0.15 +_enginever=4.0.8 +pkgver=${_filtersver}_${_snapdate} pkgrel=1 epoch=1 -makedepends=('cups>=1.4.7' 'perl' 'libxml2' 'enscript' 'perl' 'net-snmp' 'bash') -source=(http://www.linuxprinting.org/download/foomatic/$pkgbase-{filters,db-engine}-${_relver}.tar.gz - http://www.linuxprinting.org/download/foomatic/$pkgbase-db-4.0-${_snapdate}.tar.gz - http://www.linuxprinting.org/download/foomatic/$pkgbase-db-nonfree-${_snapdate}.tar.gz) +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}/$pkgbase-db-engine-${_enginever}.tar.gz + ${_url}/$pkgbase-db-4.0-${_snapdate}.tar.gz + ${_url}/$pkgbase-db-nonfree-${_snapdate}.tar.gz) url="http://www.linuxprinting.org/foomatic.html" options=('!emptydirs') -md5sums=('20abd25c1c98b2dae68709062a132a7d' - 'fcfa8eb9ce5494b81b58ae983fc2aeb5' - '88d467d9099188b170185564bd33d7b7' - 'e12969b36dc0b59be6a973ee522d707e') - -build() { - /bin/true -} +md5sums=('1b7efcdc57340915647daa5b5c15b0ef' + '5283cd5125a96dc0b35d896326512b1a' + 'ccb72c201e14bfc5eb23ea839ecc0623' + '1a2ee1e7b67192b7e3ebad2a4f59ea3e') package_foomatic-db() { @@ -46,12 +46,11 @@ package_foomatic-filters() { # arch=('i686' 'x86_64') license=('GPL') backup=(etc/foomatic/filter.conf) - depends=('glibc') + depends=('glibc' 'dbus-core') optdepends=('perl: for the "beh" Backend End Handler used by cups' 'net-snmp: certain (mostly HP) printers need it to work') -# cd ${srcdir}/${pkgname}-${pkgver} - cd ${srcdir}/foomatic-filters-${_relver} + cd ${srcdir}/foomatic-filters-${_filtersver} ./configure --prefix=/usr --sysconfdir=/etc make make DESTDIR=${pkgdir} install @@ -64,8 +63,7 @@ package_foomatic-db-engine() { license=('GPL') depends=('perl' 'libxml2' 'foomatic-filters' 'bash') -# cd ${srcdir}/${pkgname}-${pkgver} - cd ${srcdir}/foomatic-db-engine-${_relver} + cd ${srcdir}/foomatic-db-engine-${_enginever} ./configure --prefix=/usr make eval `perl -V:archname` @@ -85,10 +83,8 @@ package_foomatic-db-nonfree() { license=('custom') depends=('perl' 'libxml2' "foomatic-db-engine" 'foomatic-db') -# cd ${srcdir}/${pkgname}-${_snapdate} cd ${srcdir}/foomatic-db-nonfree-${_snapdate} ./configure --prefix=/usr make DESTDIR=${pkgdir} install -# install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING - install -Dm644 COPYING ${pkgdir}/usr/share/licenses/foomatic-db-nonfree/COPYING + install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING } |