summaryrefslogtreecommitdiff
path: root/community/python2-tagpy
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-14 01:49:21 -0700
committerroot <root@rshg054.dnsready.net>2013-07-14 01:49:21 -0700
commitd525d9a731f5d79c1128a192b9d2977a2967570f (patch)
tree2a17d6445748cb26dd944abe54a2c52a96162b00 /community/python2-tagpy
parentc9952f3a144d9fb19917d7c100dca30d2d99f629 (diff)
Sun Jul 14 01:49:07 PDT 2013
Diffstat (limited to 'community/python2-tagpy')
-rw-r--r--community/python2-tagpy/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/python2-tagpy/PKGBUILD b/community/python2-tagpy/PKGBUILD
index ed927be72..5da870be5 100644
--- a/community/python2-tagpy/PKGBUILD
+++ b/community/python2-tagpy/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 87435 2013-03-31 19:18:49Z stephane $
+# $Id: PKGBUILD 94045 2013-07-13 12:36:26Z svenstaro $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Callan Barrett <wizzomafizzo@gmail.com>
@@ -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 @@ source=("http://pypi.python.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz"
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/ \