blob: 6e8cb9af6a055f3b27afb85cd25c2c606b3623b7 (
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
52
|
# Maintainer: milk on freenode
_pkgname=ninjas2
pkgname=${_pkgname}-git
pkgver=r142.ce7d3d2
pkgrel=1
pkgdesc="Ninjas 2 Is Not Just Another Slicer. Standalone, LV2, VST. (unstable!)"
#epoch=0
arch=('i686' 'x86_64')
url="https://github.com/rghvdberg/ninjas2"
license=('custom')
groups=()
depends=('mesa' 'xorg-server' 'libsndfile' 'libsamplerate')
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
changelog=()
source=(git+https://github.com/rghvdberg/ninjas2)
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}/ninjas2/bin/ninjas2 ${pkgdir}/usr/bin/ninjas2
mkdir -p ${pkgdir}/usr/lib/lv2/
cp -r bin/ninjas2.lv2 ${pkgdir}/usr/lib/lv2/
install -Dm775 ${srcdir}/ninjas2/bin/ninjas2-vst.so ${pkgdir}/usr/lib/vst/ninjas2-vst.so
}
|