[arch-commits] Commit in python2-pyxmpp/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Wed Oct 12 09:10:22 UTC 2016
Date: Wednesday, October 12, 2016 @ 09:10:22
Author: arodseth
Revision: 191996
upgpkg: python2-pyxmpp 1.1.2-6
Modified:
python2-pyxmpp/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-12 08:52:00 UTC (rev 191995)
+++ PKGBUILD 2016-10-12 09:10:22 UTC (rev 191996)
@@ -5,7 +5,7 @@
pkgname=python2-pyxmpp
pkgver=1.1.2
-pkgrel=5
+pkgrel=6
pkgdesc='Python XMPP and Jabber implementation based on libxml2'
arch=('any')
url='https://github.com/Jajcus/pyxmpp'
@@ -16,8 +16,9 @@
md5sums=('SKIP')
prepare() {
- # Horrible hacks to convince pyxmpp to use /usr/bin/python2
cd pyxmpp
+
+ # Make sure Python 2 is used everywhere
for pyf in Makefile tests/*.py utils/*.py examples/*.py; do
sed 's/python/python2/g' -i "$pyf"
done
@@ -34,8 +35,8 @@
}
package() {
- cd pyxmpp
- make DESTDIR="$pkgdir" install || make DESTDIR="$pkgdir" install
+ make -C pyxmpp DESTDIR="$pkgdir" install \
+ || make -C pyxmpp DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list