updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libinstpatch / PKGBUILD
blobf8b3107883078acab73cae72e1c6f1addbf4347a
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=libinstpatch
4 pkgver=1.0.0
5 pkgrel=2
6 pkgdesc="A library for processing digital sample based MIDI instrument patch files."
7 arch=(i686 x86_64)
8 url="http://sourceforge.net/apps/mediawiki/swami/index.php?title=Main_Page"
9 license=('GPL')
10 depends=('libsndfile' 'glib2' 'python2')
11 makedepends=('intltool')
12 conflicts=('libinstpatch-svn')
13 options=('!libtool')
14 source=("http://downloads.sourceforge.net/project/swami/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
15 md5sums=('eca9c505fd0c47fd1f59d40598e8eb63')
17 build() {
19   cd "$srcdir/$pkgname-$pkgver"
21   # Python2 fix
22   export PYTHON="python2"
24   # Configure fix
25   sed -i "s_echo\( \$PYTHON\)_which\1_g" -i configure
27   ./configure --prefix=/usr
28   make
31 package() {
33   cd "$srcdir/$pkgname-$pkgver"
35   make DESTDIR="$pkgdir/" install
38 # vim:set ts=2 sw=2 et: