summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c4d04645d9aebba03d3acd87c659f3b337146c1 (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
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>

_pkgname=tamgamp.lv2
pkgname="${_pkgname}-git"
pkgver=r12.590ced0
pkgrel=1
pkgdesc="A guitar pre-amp simulator LV2 plugin (git version)"
arch=('x86_64')
url="https://github.com/sadko4u/tamgamp.lv2"
license=('GPL3')
groups=('lv2-plugins' 'pro-audio')
depends=('zita-resampler')
makedepends=('git' 'lv2')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+https://github.com/sadko4u/${_pkgname}.git")
sha512sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_pkgname}"
  # no release version or version number in the sources anywhere yet
  #local ver="$(cat VERSION)"
  echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
  cd "${srcdir}/${_pkgname}"
  make PREFIX=/usr
}

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