summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-22 18:41:48 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-22 18:41:48 -0300
commit867b5ea4656d270121a2daf5f7ae9081cb5241f2 (patch)
treeb70b036f2aa43941301c07d9c1033782724f1568 /pcr
parent6d107a7eed7968b2de42bb23d686edf578362bd2 (diff)
libinstpatch: add new package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r--pcr/libinstpatch/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/pcr/libinstpatch/PKGBUILD b/pcr/libinstpatch/PKGBUILD
new file mode 100644
index 000000000..380d8ce47
--- /dev/null
+++ b/pcr/libinstpatch/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer (Arch): speps <speps at aur dot archlinux dot org>
+
+pkgname=libinstpatch
+pkgver=1.0.0
+pkgrel=3
+pkgdesc="A library for processing digital sample based MIDI instrument patch files."
+arch=(i686 x86_64)
+url="http://sourceforge.net/apps/mediawiki/swami/index.php?title=Main_Page"
+license=('GPL')
+depends=('libsndfile' 'glib2' 'python2')
+makedepends=('intltool')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/project/swami/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('eca9c505fd0c47fd1f59d40598e8eb63')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # python2 fix
+ export PYTHON=python2
+
+ # configure fix
+ sed -i "s_echo\( \$PYTHON\)_which\1_g" -i configure
+
+ # DSO link fix
+ LIBS=" -lgobject-2.0 -lglib-2.0" \
+ ./configure --prefix=/usr \
+ --enable-static=no
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: