blob: fea6da2652603577f1e08ecf46d5430dc343b66c (
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: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Florian Hülsmann
_slug=voxglitch
_name=voxglitch
pkgname=vcvrack-voxglitch
pkgver=2.32.3
pkgrel=1
pkgdesc='Voxglitch VCV Rack modules'
arch=(aarch64 x86_64)
url='https://github.com/clone45/voxglitch'
license=(GPL-3.0-or-later)
groups=(pro-audio vcvrack-plugins)
depends=(gcc-libs vcvrack)
makedepends=(git jq simde zstd)
# get release commit from https://github.com/VCVRack/library/tree/v2/repos
_commit=3e3621e78b376193ef376ebc653301f6197ff110
source=("git+https://github.com/clone45/$_name#commit=$_commit")
sha256sums=('082c46f34a6f249224e41f984d212167bfccbd53332b801c989df84843eed21c')
prepare() {
cd $_name
if [ $(jq -r .version plugin.json) != $pkgver ]; then
echo "Make sure to update _commit"
false
fi
# common license
rm LICENSE
# https://github.com/clone45/voxglitch/issues/217#issuecomment-2690344027
sed -i -e 's/reserve/resize/g' src/vgLib-2.0/widgets/WaveformWidget.hpp
}
build() {
cd $_name
make SLUG=$_slug VERSION=$pkgver STRIP=: RACK_DIR=/usr/share/vcvrack dist
}
package() {
cd $_name
install -d "$pkgdir"/usr/lib/vcvrack/plugins
cp -va dist/$_slug -t "$pkgdir"/usr/lib/vcvrack/plugins
}
|