mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
33 lines
1,004 B
Bash
33 lines
1,004 B
Bash
|
# $Id: PKGBUILD 1614 2009-08-26 17:08:15Z andrea $
|
||
|
# Maintainer: Andrea Scarpino <bash.lnx@gmail.com>
|
||
|
# Contributor: Callan Barrett <wizzomafizzo@gmail.com>
|
||
|
# Contributor: Scott Horowitz <stonecrest@gmail.com>
|
||
|
|
||
|
pkgname=tagpy
|
||
|
pkgver=0.94.7
|
||
|
pkgrel=1
|
||
|
pkgdesc="Python bindings for TagLib"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://pypi.python.org/pypi/tagpy"
|
||
|
license=('MIT')
|
||
|
depends=('taglib' 'boost')
|
||
|
makedepends=('setuptools')
|
||
|
source=(http://pypi.python.org/packages/source/t/$pkgname/$pkgname-$pkgver.tar.gz)
|
||
|
md5sums=('f2304a2e15511cce057c344ea5e15694')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/$pkgname-$pkgver"
|
||
|
|
||
|
sed -i 's|boost_python-gcc42-mt|boost_python-mt|' setup.py
|
||
|
|
||
|
./configure.py --taglib-lib-dir=/usr/lib/ \
|
||
|
--taglib-inc-dir=/usr/include/taglib/ \
|
||
|
--boost-inc-dir=/usr/include/boost/ \
|
||
|
--boost-lib-dir=/usr/lib/ \
|
||
|
--boost-python-libname=boost_python-mt
|
||
|
python setup.py build || return 1
|
||
|
python setup.py install --root="$pkgdir"
|
||
|
|
||
|
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||
|
}
|