summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 49e144735fc927dd1ac6e8ffecae8085373427f9 (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
34
35
36
37
38
# Maintainer: VirtualTam <virtualtam@flibidi.net>
pkgname=aseqjoy-git
pkgver=ee9019f
pkgrel=2
pkgdesc="Joystick to ALSA MIDI Sequencer Converter"
arch=('i686' 'x86_64')
url="https://terminatorx.org/addons/"
license=('GPL2')
groups=('alsa' 'midi' 'usb')
depends=('alsa-lib')
makedepends=('autoconf')
provides=('aseqjoy')
source=(git+https://terminatorX.org/src/aseqjoy.git)
_gitname='aseqjoy'
noextract=()
sha256sums=(SKIP)

pkgver() {
  cd ${_gitname}
  git describe --always | sed 's|-|.|g'
}

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

check() {
  cd ${_gitname}
  make check
}

package() {
  cd ${_gitname}
  make DESTDIR=${pkgdir} install
}