blob: 60d6f048f78816b807ab6d71d4e7e8d73ae91dce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"
}
|