summaryrefslogtreecommitdiff
path: root/extra/hplip/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/hplip/PKGBUILD')
-rw-r--r--extra/hplip/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/extra/hplip/PKGBUILD b/extra/hplip/PKGBUILD
index 21b65a2b2..22b0043ac 100644
--- a/extra/hplip/PKGBUILD
+++ b/extra/hplip/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 116953 2011-03-26 16:48:46Z tpowa $
-# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
+# $Id: PKGBUILD 127207 2011-06-11 09:02:04Z remy $
+# Maintainer : Rémy Oudompheng <remy@archlinux.org>
# Contributor: Morgan LEFIEUX <comete@archlinuxfr.org>
pkgname=hplip
-pkgver=3.11.3
+pkgver=3.11.5
pkgrel=1
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
arch=('i686' 'x86_64')
@@ -19,14 +19,17 @@ optdepends=('cups: for printing support'
'python-notify: for Desktop notification support'
'rpcbind: for network support'
'python2-qt: for running hp-toolbox'
- 'pygobject: for running hp-toolbox')
+ 'pygobject: for running hp-toolbox'
+ 'hplip-plugin: binary blobs for specific devices')
replaces=('hpijs')
options=('!libtool')
install=hplip.install
source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz)
+md5sums=('0a3d0f46ec89857b4c0feea6923864f1')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ export PYTHON=python2
find . -type f -exec sed -i 's~^#.*env python~#!/usr/bin/env python2~' {} +
./configure --prefix=/usr \
--enable-qt4 \
@@ -56,6 +59,9 @@ package() {
# remove lp user, it's not used on archlinux
sed -i 's|OWNER="lp", ||g' "$pkgdir/lib/udev/rules.d/40-hplip.rules"
# fix sysfs rules
- sed -i -e "s|SYSFS|ATTRS|g" -e "s|sysfs|attrs|g" "$pkgdir/lib/udev/rules.d/56-hpmud_support.rules"
+ sed -i -e "s|SYSFS|ATTR|g" \
+ -e "s|sysfs|attr|g" \
+ -e 's|"bin/sh|"/bin/sh|g' \
+ "$pkgdir/lib/udev/rules.d/56-hpmud_support.rules"
}
-md5sums=('9a2f39cb02214ee0def550defac0d240')
+