summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 670ba7ac4782fd13c2a6de6483f1c3c89143a08a (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: Darrell Enns <darrell@darrellenns.com>
_pkgname=leslie
pkgname=${_pkgname}-git
pkgrel=2
pkgver=0.r8.aa2c796
pkgdesc="A leslie audio effect with jack, OSC control, and (optionally) an opengl GUI."
url="https://github.com/darrellenns/leslie"
arch=('x86_64' 'i686')
license=('GPL')
depends=('liblo' 'libgl' 'glut' 'ftgl' 'boost-libs' 'jack' 'ttf-dejavu' 'alsa-lib' 'freetype2')
makedepends=('git' 'boost')
conflicts=()
replaces=()
backup=()
source=('leslie::git+https://github.com/darrellenns/leslie.git')
sha1sums=('SKIP')

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

package() {
	cd "${srcdir}/${_pkgname}"
	make DESTDIR="${pkgdir}" install
}

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