summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ca8904398a6c8fd03147c0a548fee47a528e1e95 (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
# Maintainer: donarturo <arturwrona91 (at) gmail (dot) com>
pkgname=gmsynth-modcc
_pkgname=gmsynth-modCC.lv2
pkgver=r6.f1112bf
pkgrel=1
pkgdesc="General MIDI LV2 Synth (modCC). Modified version of gmsynth from x42"
arch=('x86_64')
url="https://github.com/donarturo11/gmsynth-modCC.lv2"
license=('GPL2')
groups=('pro-audio' 'lv2-plugins')
depends=('glibc' 'glib2' 'libfluidsynth.so')
makedepends=('lv2' 'git')
source=("git+https://github.com/donarturo11/${_pkgname}.git")
sha512sums=('SKIP')

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



build() {
  cd "${_pkgname}"
  make
}

package() {
  cd "${_pkgname}"
  make DESTDIR="$pkgdir/" PREFIX='/usr' install
  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${_pkgname}"
}