summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b87f5988e6c201d011e613a4e17072350f53fce (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
# Maintainer: silverhikari
pkgname=talentedhack-git
_pkgname=TalentedHack
pkgver=v1.9.r0.95c20a5
pkgrel=1
pkgdesc="a lv2 conversion of autotalent, a pitch correction plugin"
arch=(x86_64)
url="https://github.com/jeremysalwen/TalentedHack"
license=('GPL3')
makedepends=('git' 'fftw')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/jeremysalwen/TalentedHack')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${_pkgname%-git}"
	printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

build() {
    cd "$srcdir/${_pkgname%-git}"
    make
}

package() {
	cd "$srcdir/${_pkgname%-git}"
	mkdir -p "${pkgdir}/usr/lib/lv2/TalentedHack.lv2"
	install -m755 talentedhack.so "${pkgdir}/usr/lib/lv2/TalentedHack.lv2"
	install -m644 manifest.ttl talentedhack.ttl "${pkgdir}/usr/lib/lv2/TalentedHack.lv2"
}