summaryrefslogtreecommitdiff
path: root/pyanidb/PKGBUILD
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-10-21 20:08:23 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-10-21 20:08:23 +0200
commit8be4ecef3d7f083ec34c2bb6344d9bafb06cc61c (patch)
treef292be2c284279ebe64eeb46180e42d63dcee2f9 /pyanidb/PKGBUILD
parent100d3fb22699b18084d1edb41f96c1f4db8ebf35 (diff)
pyanidb: Workaround to use Python 2.x.
Diffstat (limited to 'pyanidb/PKGBUILD')
-rw-r--r--pyanidb/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyanidb/PKGBUILD b/pyanidb/PKGBUILD
index 0731e17..41d5834 100644
--- a/pyanidb/PKGBUILD
+++ b/pyanidb/PKGBUILD
@@ -14,7 +14,8 @@ md5sums=('192b1db069f28ca3c80c324b8f92bcac')
build() {
cd "$srcdir/$pkgname-$pkgver"
- python setup.py install --root=${pkgdir} || return 1
+ sed -i 's|#!/usr/bin/python|#!/usr/bin/env python2|' anidb
+ python2 setup.py install --root=${pkgdir} || return 1
}
# vim:set ts=2 sw=2 et: