blob: 972c88179f9a430ec3e2dd9361b30135b8d8740a (
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: RedTide <redtid3@gmail.com>
pkgname=sfizz-git
pkgver=r5.4d45914
pkgrel=1
pkgdesc="Juce based SFZ format sampler"
url="https://github.com/redtide/sfizz"
arch=('x86_64')
license=('GPL3')
makedepends=('git' 'juce')
source=(
"$pkgname"::"git+https://github.com/redtide/sfizz"
"Makefile"
)
md5sums=(
'SKIP'
'00f1db42f1beed7ae40dae6e9932127a'
)
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cp -f Makefile $srcdir/$pkgname/Builds/LinuxMakefile/
cd "$srcdir/$pkgname/Builds/LinuxMakefile"
make INSTALL_DIR=$pkgdir
}
package() {
cd "$srcdir/$pkgname"
install -D -m644 $srcdir/$pkgname/bundle/linux/sfizz.desktop $pkgdir/usr/share/applications/sfizz.desktop
install -D -m644 $srcdir/$pkgname/resources/icons/sfizz.png $pkgdir/usr/share/pixmaps/sfizz.png
install -D -m755 $srcdir/$pkgname/Builds/LinuxMakefile/build/sfizz $pkgdir/usr/bin/sfizz
}
|