blob: 48c3c0a7b5f8ec915e3469c11b3c0dceb9c35837 (
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
43
44
45
46
47
48
49
50
51
|
# Maintainer: milk on freenode
_pkgname=ninjas
pkgname=${_pkgname}-git
pkgver=r252.089b776
pkgrel=1
pkgdesc="Ninjas Is Not Just Another Slicer. Standalone, LV2, VST. Undeveloped; see instead ninjas2-git."
#epoch=0
arch=('i686' 'x86_64')
url="https://github.com/rghvdberg/ninjas"
license=('custom')
groups=()
depends=('mesa' 'xorg-server' 'libsndfile' 'libsamplerate')
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
source=(git+https://github.com/rghvdberg/ninjas)
noextract=()
md5sums=('SKIP')
pkgver()
{
cd "$_pkgname"
( 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)"
)
}
# check()
# {
# cd "$_pkgname"
# }
prepare()
{
cd "$_pkgname"
git submodule init && git submodule update --recursive
make
}
package() {
cd ${_pkgname}
install -Dm775 ${srcdir}/ninjas/bin/ninjas ${pkgdir}/usr/bin/ninjas
mkdir -p ${pkgdir}/usr/lib/lv2/
cp -r bin/ninjas.lv2 ${pkgdir}/usr/lib/lv2/
install -Dm775 ${srcdir}/ninjas/bin/ninjas-vst.so ${pkgdir}/usr/lib/vst/ninjas-vst.so
}
|