blob: a4c01de20d1cf405f274af28e0a1a52b19c3873c (
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
37
38
39
40
41
42
|
# Maintainer: Milk Brewster <milk on freenode>
_pkgname=stegosaurus-lv2
pkgname=${_pkgname}-git
pkgver=r18.543a95d
pkgrel=1
pkgdesc="lv2 drum synthersizer without sampling (patched fork)"
arch=(x86_64)
url="https://github.com/mxmilkiib/stegosaurus"
license=('GPL')
groups=()
depends=('lv2' 'cairo')
makedepends=('git')
provides=()
conflicts=()
install=
source=('git+https://github.com/mxmilkiib/stegosaurus')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/stegosaurus"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
prepare() {
cd "$srcdir/stegosaurus"
./waf configure --prefix=/usr
}
build() {
cd "$srcdir/stegosaurus"
./waf
}
package() {
cd "$srcdir/stegosaurus"
# make PREFIX=/usr DESTDIR="$pkgdir/" install
./waf install --destdir=$pkgdir
}
|