summaryrefslogtreecommitdiff
path: root/pcr/a2jmidid/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-13 18:38:53 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-13 18:38:53 -0300
commitf47c540657a7114d5c33de1c6cdc982c47a5971a (patch)
tree7396de5d2cd7bc3e1dde39c3a4d19410378dc13f /pcr/a2jmidid/PKGBUILD
parent57dba4bb080f9e0cfcedda5291d51dfaaaf05ea5 (diff)
parentebe5485221a9490bf73eb4da48a290e78ee5a557 (diff)
downloadabslibre-f47c540657a7114d5c33de1c6cdc982c47a5971a.tar.gz
abslibre-f47c540657a7114d5c33de1c6cdc982c47a5971a.tar.bz2
abslibre-f47c540657a7114d5c33de1c6cdc982c47a5971a.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/a2jmidid/PKGBUILD')
-rw-r--r--pcr/a2jmidid/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/a2jmidid/PKGBUILD b/pcr/a2jmidid/PKGBUILD
new file mode 100644
index 000000000..60d6f048f
--- /dev/null
+++ b/pcr/a2jmidid/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer : Guest One <theguestone at gmail dot com>
+# patch taken from https://aur.archlinux.org/packages/a2jmidid/
+
+pkgname=a2jmidid
+pkgver=8
+pkgrel=1
+pkgdesc="A daemon for exposing legacy ALSA sequencer applications in JACK MIDI system."
+arch=('i686')
+url="http://home.gna.org/$pkgname/"
+license=('GPL')
+depends=('jack' 'python2-dbus')
+source=("http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2"
+ "$pkgname-dso-pthread.patch")
+md5sums=('9cf4edbc3ad2ddeeaf6c8c1791ff3ddd'
+ '4b15e485301aee48371844cb01689ad2')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # DSO link patch
+ patch -p1 -i ../$pkgname-dso-pthread.patch
+
+ python2 waf configure --prefix=/usr
+ python2 waf
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 waf install --destdir="$pkgdir/"
+
+ # python2 fix
+ sed -i "s/python/&2/" "$pkgdir/usr/bin/a2j_control"
+} \ No newline at end of file