blob: 75fb9ceb51af677c24dfe19c8d201a300b1316d9 (
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
53
|
# Maintainer: hfte@posteo.org
pkgname=sws
pkgver=2.10.0
pkgrel=1
pkgdesc="A collection of features that seamlessly integrate into REAPER"
arch=('x86_64')
url="http://www.sws-extension.org/"
license=('MIT')
depends=('reaper-bin>=5.965')
makedepends=('git' 'gcc' 'make' 'php' 'php-gd')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
source=("git://github.com/reaper-oss/sws.git"
"git://github.com/justinfrankel/wdl.git"
"https://swsaur.000webhostapp.com/files/reaper_plugin_functions.tar.xz")
sha256sums=('SKIP'
'SKIP'
'5a8bfe55b1687ffcb173121bd85cf58ede78dc959dce230e5524e62fbe07890b')
pkgver() {
cd "$pkgname"
head -1 version.h | tr , . | cut -d' ' -f3
}
prepare() {
REAPERVERSION="$(pacman -Q reaper | cut -d' ' -f2 | cut -d'-' -f1)"
if [-e reaper_plugin_functions/$REAPERVERSION/reaper_plugin_functions.h]
then
cp "reaper_plugin_functions/$REAPERVERSION/reaper_plugin_functions.h"\
"$srcdir/$pkgname"
else
cp "reaper_plugin_functions/reaper_plugin_functions.h"\
"$srcdir/$pkgname"
fi
}
build() {
cd "$srcdir/$pkgname"
git checkout next
make
}
package() {
DESTDIR="${pkgdir}/usr/lib/REAPER/UserPlugins/"
mkdir -p "${DESTDIR}"
cp "${srcdir}/$pkgname/reaper_sws64.so" "${DESTDIR}"
cd "${srcdir}"
cd ..
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}/"
cp LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|