summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 691e54cec2574ce50b5034335036bb61a4b7fe89 (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: epitron
pkgname=soundtracker-git
_gitname=soundtracker
pkgver=r560.8f1d335
pkgrel=1
pkgdesc="A FutureTrackerII-style music tracker (only supports .MOD and .XM)"
arch=('i686' 'x86_64')
url="https://soundtracker.org"
license=('GPL2')
depends=('gtk2' 'libsndfile')
optdepends=('alsa-lib' 'pulseaudio' 'jack2' 'sdl2')
makedepends=('git' 'autoconf')
source=("$_gitname"::"git+https://git.code.sf.net/p/soundtracker/git")
md5sums=('SKIP')

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

build() {
  cd $_gitname/
  
  autoreconf -vfi
  ./configure --prefix=/usr
  make
}

package() {
  cd $_gitname/

  make PREFIX=/usr DESTDIR="$pkgdir/" install
}