summaryrefslogtreecommitdiff
path: root/libre/hplip-libre/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-12 03:47:14 +0000
committerroot <root@rshg054.dnsready.net>2012-03-12 03:47:14 +0000
commit7e61bbcf6b3c8ffe6c076268044d83b446fceeab (patch)
tree360d89950fc40d239f428a8396bf849b06745d20 /libre/hplip-libre/PKGBUILD
parenta6cb3ddef295c5feb4e03ee198dbb31cdf62d518 (diff)
Mon Mar 12 03:47:14 UTC 2012
Diffstat (limited to 'libre/hplip-libre/PKGBUILD')
-rw-r--r--libre/hplip-libre/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/libre/hplip-libre/PKGBUILD b/libre/hplip-libre/PKGBUILD
index 058573d05..ff876dfe8 100644
--- a/libre/hplip-libre/PKGBUILD
+++ b/libre/hplip-libre/PKGBUILD
@@ -1,11 +1,12 @@
# $Id: PKGBUILD 144357 2011-12-05 03:44:51Z eric $
# Maintainer : Rémy Oudompheng <remy@archlinux.org>
# Contributor: Morgan LEFIEUX <comete@archlinuxfr.org>
+# Contributor (Parabola): Jorge López <jorginho@adinet.com.uy>
_pkgname=hplip
pkgname=hplip-libre
-pkgver=3.11.10
-pkgrel=2
+pkgver=3.12.2
+pkgrel=1
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
arch=('i686' 'x86_64')
url="http://hplipopensource.com"
@@ -27,8 +28,8 @@ provides=("${_pkgname}=${pkgver}")
options=('!libtool')
install=hplip.install
source=(http://downloads.sourceforge.net/${_pkgname}/$_pkgname-$pkgver.tar.gz{,.asc})
-md5sums=('6143f30f3b6905ef22105176a3b80db0'
- '396bbd8c5cc92aa8295e5bcb508692f3')
+sha1sums=('bdf3e37a344f5b57b62425f755c4293d6d4ae875'
+ 'aa00cdf755fea38f39247a0a4a2e8241dc15112c')
build() {
cd "$srcdir/$_pkgname-$pkgver"
@@ -41,10 +42,8 @@ build() {
sed -i 's|python %HOME%|python2 %HOME%|' base/utils.py
sed -i 's|python ./plugin.py|python2 ./plugin.py|' base/pkit.py
- # fix sysfs rules
- sed -i -e "s|SYSFS|ATTR|g" \
- -e "s|sysfs|attr|g" \
- data/rules/56-hpmud_support.rules
+ export AUTOMAKE='automake --foreign'
+ autoreconf --force --install
./configure --prefix=/usr \
--enable-qt4 \
@@ -67,4 +66,6 @@ package() {
make rulesdir=/lib/udev/rules.d DESTDIR="$pkgdir/" install
# remove config provided by sane and autostart of hp-daemon
rm -rf "$pkgdir"/etc/{sane.d,xdg}
+ # remove HAL .fdi file because HAL is no longer used
+ rm -rf "$pkgdir"/usr/share/hal
}