summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d5f1c8dbf043fd0761ede9d93d54ff452d8ef89 (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: David Adler <d.adler@posteo.de>
_pkgname=jpmidi
pkgname=$_pkgname-git
pkgver=r14.8425151
pkgrel=3
pkgdesc="SMF player for JACK MIDI with transport sync"
arch=('x86_64')
url="https://github.com/jerash/jpmidi"
license=('GPL')
depends=('jack')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=(git+https://github.com/jerash/jpmidi.git)
md5sums=('SKIP')

pkgver() {
    cd $_pkgname
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd $_pkgname/$_pkgname
    ./autogen.sh 
    ./configure --prefix="/usr"
    make
}

package() {
    cd $_pkgname/$_pkgname
    make DESTDIR="$pkgdir/" install
}