summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 42a668bff1fa69dbb4bbcb88ce1c8fcbdec44688 (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
# Maintainer: David Adler <d.adler@posteo.de>

pkgname=jack-smf-utils
pkgver=1.0
pkgrel=5
pkgdesc="JACK MIDI smf player and recorder with JACK Transport sync"
arch=('x86_64')
url="http://jack-smf-utils.sourceforge.net"
license=('custom')
depends=('jack' 'libsmf')
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
md5sums=('80234923dd5a14bdbd8ef567347d9df8')

build() {
    cd $pkgname-$pkgver
    # use /usr/bin/smfsh from package libsmf instead of the one 
    # shipped with this package to avoid file conflict
    sed -i ':a;$!N;1,5ba;P;$d;D' libsmf/Makefile.am
    autoreconf --install
    automake --add-missing
    ./configure --prefix=/usr
    make
}

package() {
    cd $pkgname-$pkgver
    make DESTDIR="$pkgdir" install
    install -t "${pkgdir}/usr/share/licenses/$pkgname/" \
        -vDm 644 COPYING
}