diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/hplip/PKGBUILD | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/libre/hplip/PKGBUILD b/libre/hplip/PKGBUILD index 8ec3c1f9c..74bb9e559 100644 --- a/libre/hplip/PKGBUILD +++ b/libre/hplip/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 231614 2015-02-16 18:19:39Z andyrtr $ +# $Id: PKGBUILD 237914 2015-04-22 17:49:26Z andyrtr $ # Maintainer (Arch): Andreas Radke <andyrtr@archlinux.org> # Maintainer (Arch): Tom Gundersen <teg@jklm.no> # Contributor (Arch): Rémy Oudompheng <remy@archlinux.org> @@ -6,8 +6,8 @@ # Maintainer: Jorge López <jorginho@lavabit.com> pkgname=hplip -pkgver=3.15.2 -pkgrel=3.parabola1 +pkgver=3.15.4 +pkgrel=1.parabola1 pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet, without printers with nonfree drivers support and hplip-plugin binary blobs recommendation (Parabola rebranded)" arch=('i686' 'x86_64' 'mips64el') url="http://hplipopensource.com" @@ -28,7 +28,7 @@ conflicts=(${pkgname}-libre) install=hplip.install source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz{,.asc} disable_upgrade.patch) -sha1sums=('efebad73f29ab9f77d5a866c1c5d3857cc5f1df5' +sha1sums=('6670afd4c23ef99782d2a91b5916d429b66b7947' 'SKIP' '4ef1b506ff5930ab841945ae9178f28fca1997ad') validpgpkeys=('4ABA2F66DBD5A95894910E0673D770CDA59047B9') # HPLIP <hplip@hp.com> @@ -38,7 +38,7 @@ prepare() { echo "Removing printers not supported with free drivers from the database" - # based on http://devel.trisquel.info/gitweb/?p=package-helpers.git;a=blob_plain;f=helpers/make-hplip;hb=refs/heads/toutatis revision 4 + # based on https://devel.trisquel.info/trisquel/package-helpers/raw/master/helpers/make-hplip # keep header license sed '/\[/,99999d' data/models/models.dat > mktemp @@ -58,18 +58,6 @@ prepare() { echo "Preparing source" -# export PYTHON=python2 - -# find . -type f -exec sed -i 's~^#.*env python~#!/usr/bin/env python2~' {} + -# sed -i '1s|#!/usr/bin/python|#!/usr/bin/python2|' doctor.py setup.py makeuri.py logcapture.py base/magic.py -# sed -i '1s|#!/usr/bin/python|#!/usr/bin/python2|' ui/upgradeform.py uninstall.py upgrade.py config_usb_printer.py -# sed -i 's|python ./print.py|python2 ./print.py|' scan.py -# sed -i 's|python ./testpage.py|python2 ./testpage.py|' setup.py -# sed -i 's|python ./setup.py|python2 ./setup.py|' ui4/devmgr5.py ui4/nodevicesdialog.py -# sed -i 's|python %HOME%|python2 %HOME%|' base/utils.py -# sed -i 's|python ./plugin.py|python2 ./plugin.py|' base/pkit.py -# sed -i 's|/usr/bin/python|/usr/bin/python2|' data/rules/hplip-printer@.service - # disable insecure update - https://bugs.archlinux.org/task/38083 patch -Np0 -i ${srcdir}/disable_upgrade.patch @@ -101,7 +89,7 @@ build() { --enable-hpijs-install \ --enable-foomatic-drv-install \ --enable-pp-build #--help - make + make -j1 # 3.15.4 fails parallel build } package() { |