-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPKGBUILD
More file actions
38 lines (34 loc) · 1.01 KB
/
PKGBUILD
File metadata and controls
38 lines (34 loc) · 1.01 KB
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
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
# Contributor: Florian Hülsmann <fh@cbix.de>
pkgname=jack_link
pkgver=0.2.6
pkgrel=1
pkgdesc='JACK transport bridge to Ableton Link'
arch=(aarch64 x86_64)
url='https://github.com/rncbc/jack_link'
license=(GPL-2.0-or-later)
depends=(gcc-libs glibc)
makedepends=(asio git jack)
groups=(pro-audio)
source=("git+https://github.com/rncbc/$pkgname#tag=v$pkgver"
'git+https://github.com/Ableton/link')
sha256sums=('2268587290d30bc4f3502cda7fd2bf8fb39a62635fe025fb5f203f270f077604'
'SKIP')
prepare() {
cd $pkgname
# setup submodule
git submodule init link
git submodule set-url link "$srcdir"/link
git -c protocol.file.allow=always submodule update
}
build() {
cd $pkgname
make PREFIX=/usr VERSION=$pkgver
}
package() {
depends+=(libjack.so)
cd $pkgname
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 README.md -t "$pkgdir"/usr/share/doc/$pkgname
}