summaryrefslogtreecommitdiff
path: root/libre/hplip-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-14 23:38:42 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-14 23:38:42 -0300
commit3b1b14787495a420c728b5a943276b620ad97178 (patch)
tree9853ec38194f64eaf1e51be9a3a449fb094c5fb7 /libre/hplip-libre/PKGBUILD
parentbb15593b35cf0e819d59d3a7d1996259db739511 (diff)
hplip-libre-3.13.3-2: updating revision
* Fix https://bugs.archlinux.org/task/34282
Diffstat (limited to 'libre/hplip-libre/PKGBUILD')
-rw-r--r--libre/hplip-libre/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/libre/hplip-libre/PKGBUILD b/libre/hplip-libre/PKGBUILD
index 65a644c9c..30a1b6f05 100644
--- a/libre/hplip-libre/PKGBUILD
+++ b/libre/hplip-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 179659 2013-03-09 09:20:06Z andyrtr $
+# $Id: PKGBUILD 180013 2013-03-14 18:45:58Z andyrtr $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor : Rémy Oudompheng <remy@archlinux.org>
# Contributor: Morgan LEFIEUX <comete@archlinuxfr.org>
@@ -7,7 +7,7 @@
_pkgname=hplip
pkgname=hplip-libre
pkgver=3.13.3
-pkgrel=1
+pkgrel=2
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet (without hplip-plugin binary blobs recommendation)"
arch=('i686' 'x86_64')
url="http://hplipopensource.com"
@@ -24,9 +24,9 @@ optdepends=('cups: for printing support'
'python2-pyqt: for running hp-toolbox'
'python2-gobject2: for running hp-toolbox'
'libusbx: for advanced usb support')
-replaces=("${_pkgname}")
-conflicts=("${_pkgname}")
-provides=("${_pkgname}=${pkgver}")
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
options=('!libtool')
install=hplip.install
source=(http://downloads.sourceforge.net/${_pkgname}/$_pkgname-$pkgver.tar.gz{,.asc}
@@ -94,4 +94,7 @@ package() {
chmod 775 "$pkgdir"/var/log/hp{,/tmp}
# remove rc script
rm -rf "$pkgdir"/etc/init.d
+
+ # fix broken udev rule - FS#34282
+ sed -i "s:\$attrs:\$attr:g" $pkgdir/usr/lib/udev/rules.d/56-hpmud_support.rules
}