diff options
author | root <root@rshg054.dnsready.net> | 2012-06-28 00:01:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-28 00:01:48 +0000 |
commit | ad4cbb616af1b40790c6533f1d5b98dbd7aaa199 (patch) | |
tree | bb9eaf0dec4bf5c449ccc9236b02ea993f69f9fe /libre | |
parent | 5aee7ab49f65d6fee1182bfcacf92192ad36c4af (diff) |
Thu Jun 28 00:01:48 UTC 2012
Diffstat (limited to 'libre')
-rw-r--r-- | libre/hplip-libre/PKGBUILD | 11 | ||||
-rw-r--r-- | libre/texlive-latexextra-libre/PKGBUILD | 6 |
2 files changed, 8 insertions, 9 deletions
diff --git a/libre/hplip-libre/PKGBUILD b/libre/hplip-libre/PKGBUILD index b6bc8ce2f..d8ce703b2 100644 --- a/libre/hplip-libre/PKGBUILD +++ b/libre/hplip-libre/PKGBUILD @@ -7,7 +7,7 @@ _pkgname=hplip pkgname=hplip-libre pkgver=3.12.6 -pkgrel=1 +pkgrel=2 pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet (without hplip-plugin binary blobs recommendation)" arch=('i686' 'x86_64') url="http://hplipopensource.com" @@ -36,16 +36,17 @@ md5sums=('5303938e8630775ea6fb383af85775e5' build() { cd "$srcdir/$_pkgname-$pkgver" 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|' base/magic.py + sed -i '1s|#!/usr/bin/python|#!/usr/bin/python2|' setup.py makeuri.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 ./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 + # https://bugs.archlinux.org/task/30085 - hack found in Gentoo # Use system foomatic-rip for hpijs driver instead of foomatic-rip-hplip # The hpcups driver does not use foomatic-rip @@ -56,7 +57,7 @@ build() { gzip > ${i}.temp || return 1 mv ${i}.temp ${i} done - + export AUTOMAKE='automake --foreign' autoreconf --force --install diff --git a/libre/texlive-latexextra-libre/PKGBUILD b/libre/texlive-latexextra-libre/PKGBUILD index 063a9e899..d806b73fd 100644 --- a/libre/texlive-latexextra-libre/PKGBUILD +++ b/libre/texlive-latexextra-libre/PKGBUILD @@ -31,11 +31,9 @@ md5sums=('868dc1824391768e120fdd71ba28e520' build() { # remove nonfree packages # No specific free license. - rm {authoraftertitle,clock,fltpage,fnpara}.tar.xz - # No explicit modification permission. - rm cmdtrack.tar.xz + rm {authoraftertitle,clock,fnpara}.tar.xz # Remove them from package list. - sed -ri '/^(authoraftertitle|clock+fltpage|fnpara|cmdtrack) /d' CONTENTS + sed -ri '/^(authoraftertitle|fnpara) /d' CONTENTS for p in *.tar.xz; do bsdtar -xf $p done |