summaryrefslogtreecommitdiff
path: root/libre/cups-filters-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/cups-filters-libre')
-rw-r--r--libre/cups-filters-libre/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/libre/cups-filters-libre/PKGBUILD b/libre/cups-filters-libre/PKGBUILD
index 3a7f50e3a..bd51a4838 100644
--- a/libre/cups-filters-libre/PKGBUILD
+++ b/libre/cups-filters-libre/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 192539 2013-08-13 18:20:20Z andyrtr $
+# $Id: PKGBUILD 193721 2013-08-29 11:50:04Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=cups-filters-libre
_pkgname=cups-filters
-pkgver=1.0.36
+pkgver=1.0.37
pkgrel=1
pkgdesc="OpenPrinting CUPS Filters, without foomatic-db-nonfree recommendation"
arch=('i686' 'x86_64')
@@ -17,10 +17,8 @@ optdepends=('ghostscript: for non-PostScript printers to print with CUPS to conv
backup=(etc/fonts/conf.d/99pdftoopvp.conf
etc/cups/cups-browsed.conf)
options=(!libtool)
-source=(http://www.openprinting.org/download/cups-filters/$_pkgname-$pkgver.tar.gz
- cups-browsed.service)
-md5sums=('c48a991ac408583d33e1d1e84881c470'
- '9ef68d7c2a84713fd421f4e87dec0a6e')
+source=(http://www.openprinting.org/download/cups-filters/$_pkgname-$pkgver.tar.gz)
+md5sums=('42d2dd9745d4d5d626c7b871155cb430')
replaces=("${_pkgname}")
conflicts=("${_pkgname}")
provides=("${_pkgname}=${pkgver}")
@@ -49,6 +47,7 @@ package() {
# drop static lib
rm -f ${pkgdir}/usr/lib/*.a
- # add missing systemd support
- install -Dm644 ${srcdir}/cups-browsed.service ${pkgdir}/usr/lib/systemd/system/cups-browsed.service
+ # add upstream systemd support file
+ install -Dm644 utils/cups-browsed.service ${pkgdir}/usr/lib/systemd/system/cups-browsed.service
+ sed -i "s|/usr/sbin/cups-browsed|/usr/bin/cups-browsed|" ${pkgdir}/usr/lib/systemd/system/cups-browsed.service
}