blob: 79819f329ea6264d97ca4bd55a7674ceb0063451 (
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
|
# Maintainer: Alexandre BIQUE <bique.alexandre@gmail.com>
pkgname=clap-host
pkgver=1.0.2
pkgrel=1
pkgdesc="CLAP example host"
arch=(x86_64)
url="https://github.com/free-audio/clap-host"
license=('MIT')
groups=()
depends=(qt6-base rtmidi rtaudio)
makedepends=(cmake ninja catch2 git)
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(git+https://github.com/free-audio/clap-host#tag=$pkgver
git+https://github.com/free-audio/clap#branch=main
git+https://github.com/free-audio/clap-helpers#branch=main)
noextract=()
sha256sums=(SKIP
SKIP
SKIP)
build() {
cd "$pkgname"
rm -rf clap clap-helpers
ln -s "$srcdir/clap"
ln -s "$srcdir/clap-helpers"
rm -rf build
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUsePkgConfig=TRUE -GNinja ..
ninja
}
package() {
cd "$pkgname/build"
DESTDIR="$pkgdir/" ninja install
}
|