summaryrefslogtreecommitdiff
path: root/libre/hplip-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/hplip-libre/PKGBUILD')
-rw-r--r--libre/hplip-libre/PKGBUILD36
1 files changed, 18 insertions, 18 deletions
diff --git a/libre/hplip-libre/PKGBUILD b/libre/hplip-libre/PKGBUILD
index 7d2dceae8..e312adc11 100644
--- a/libre/hplip-libre/PKGBUILD
+++ b/libre/hplip-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 194375 2013-09-15 08:00:33Z andyrtr $
+# $Id: PKGBUILD 196769 2013-10-18 13:50:49Z andyrtr $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor : Rémy Oudompheng <remy@archlinux.org>
# Contributor: Morgan LEFIEUX <comete@archlinuxfr.org>
@@ -6,7 +6,7 @@
_pkgname=hplip
pkgname=hplip-libre
-pkgver=3.13.9
+pkgver=3.13.10
pkgrel=2
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet, without hplip-plugin binary blobs recommendation"
arch=('i686' 'x86_64' 'mips64el')
@@ -20,6 +20,7 @@ optdepends=('cups: for printing support'
'sane: for scanner support'
'python2-pillow: for commandline scanning support'
'python2-notify: for Desktop notification support'
+ 'python2-reportlab: for pdf output in hp-scan'
'rpcbind: for network support'
'python2-pyqt: for running hp-toolbox'
'python2-gobject2: for running hp-toolbox'
@@ -29,17 +30,12 @@ conflicts=$_pkgname
provides=$_pkgname=$pkgver
options=('!libtool')
install=hplip.install
-source=(http://downloads.sourceforge.net/${_pkgname}/$_pkgname-$pkgver.tar.gz{,.asc}
- hp-mkuri.patch)
-md5sums=('8fcbbd0d3a0b76550f325bd6cf46d9d9'
- 'SKIP'
- '0bd7779fdbc4d7a9386df04dce2cb8d4')
+source=(http://downloads.sourceforge.net/${_pkgname}/$_pkgname-$pkgver.tar.gz{,.asc})
+md5sums=('ba729c514a2dc95390b99e9a9d452999'
+ 'SKIP')
-build() {
- cd "$srcdir/$_pkgname-$pkgver"
-
- # fix linking libnotify, FS#34283
- patch -Np0 -i ${srcdir}/hp-mkuri.patch
+prepare() {
+ cd $_pkgname-$pkgver
export PYTHON=python2
@@ -65,7 +61,10 @@ build() {
export AUTOMAKE='automake --foreign'
autoreconf --force --install
+}
+build() {
+ cd $_pkgname-$pkgver
./configure --prefix=/usr \
--enable-qt4 \
--disable-foomatic-rip-hplip-install \
@@ -83,15 +82,16 @@ build() {
}
package() {
- #cd "$srcdir/$_pkgname-$pkgver"
- cd "$srcdir/$_pkgname-${pkgver/.a/a}"
+ #cd $_pkgname-$pkgver
+ cd $_pkgname-${pkgver/.a/a}
make rulesdir=/usr/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
- # log dir should not be world writeable
- chmod 775 "$pkgdir"/var/log/hp{,/tmp}
+ rm -vrf "$pkgdir"/usr/share/hal
+
# remove rc script
- rm -rf "$pkgdir"/etc/init.d
+ rm -vrf "$pkgdir"/etc/init.d
}