[arch-commits] Commit in system-config-printer/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Tue Oct 19 09:40:22 UTC 2010
Date: Tuesday, October 19, 2010 @ 05:40:22
Author: andrea
Revision: 96202
fix...
Modified:
system-config-printer/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-10-19 09:39:42 UTC (rev 96201)
+++ PKGBUILD 2010-10-19 09:40:22 UTC (rev 96202)
@@ -16,16 +16,17 @@
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
+
+ sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ $(find . -name '*.py')
./configure --prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--disable-nls
+
python2 setup.py build
-
- sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- $(find . -name '*.py')
}
package_system-config-printer-common() {
More information about the arch-commits
mailing list