[arch-commits] Commit in python2-tagpy/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Tue Jul 9 13:41:21 UTC 2013
Date: Tuesday, July 9, 2013 @ 15:41:21
Author: arodseth
Revision: 93743
upgpkg: python2-tagpy 0.94.8-4
Modified:
python2-tagpy/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-09 13:10:29 UTC (rev 93742)
+++ PKGBUILD 2013-07-09 13:41:21 UTC (rev 93743)
@@ -6,7 +6,7 @@
pkgname=python2-tagpy
pkgver=0.94.8
-pkgrel=3
+pkgrel=4
pkgdesc='Python bindings for TagLib'
arch=('x86_64' 'i686')
url='http://pypi.python.org/pypi/tagpy'
@@ -20,14 +20,17 @@
sha256sums=('56eab8dd81510f8af18e19375a0ffd5cd25c8e555104be46a92c3dc08634a0dc'
'f6cc34f8d4d1186270943cd7e1ad3c9478ae7064ab9b2cddf7760d493295cd26')
-build() {
+prepare() {
cd "tagpy-$pkgver"
patch -p1 -i "$srcdir/taglib1.7.patch"
-
sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
$(find . -name '*.py')
-
+}
+
+build() {
+ cd "tagpy-$pkgver"
+
./configure.py \
--taglib-lib-dir=/usr/lib/ \
--taglib-inc-dir=/usr/include/taglib/ \
More information about the arch-commits
mailing list