summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e292bdda33e806ec75f149f3e3ce7af311684bf7 (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: RedTide <redtid3@gmail.com>

pkgname=alsa-midi-latency-test-git
pkgver=r165.673a3f5
pkgrel=1
pkgdesc="Measure the roundtrip time of MIDI messages "
url="https://github.com/koppi/alsa-midi-latency-test"
arch=('x86_64')
license=('GPL-2.0')
depends=('alsa-lib')
makedepends=('git')
source=(
    "$pkgname"::"git+https://github.com/koppi/alsa-midi-latency-test.git"
)
md5sums=(
    'SKIP'
)
pkgver() {
    cd "$pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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

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