summaryrefslogtreecommitdiff
path: root/libre/hplip-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-11 22:31:51 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-11 22:31:51 -0300
commit68bf66cd46e7a4fd720da07cf10d151c9289f69f (patch)
tree22ccb8fe5757ea57ede53098e405879a9c5fa14f /libre/hplip-libre/PKGBUILD
parent1ae0d624cb98af630d418de8a51f52c5ff38c2b2 (diff)
downloadabslibre-68bf66cd46e7a4fd720da07cf10d151c9289f69f.tar.gz
abslibre-68bf66cd46e7a4fd720da07cf10d151c9289f69f.tar.bz2
abslibre-68bf66cd46e7a4fd720da07cf10d151c9289f69f.zip
libre/hplip-libre
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
}