-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKGBUILD
More file actions
34 lines (29 loc) · 876 Bytes
/
PKGBUILD
File metadata and controls
34 lines (29 loc) · 876 Bytes
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: rewbycraft <contact at roelf dot org
pkgname=jackdynconagent-git
_pkgname=jackdynconagent
pkgver=0.1
pkgrel=1
pkgdesc="The purpose of this program is to dynamically match JACK clients and remap their ports as required."
arch=('i686' 'x86_64')
url="https://github.com/rewbycraft/JACKDynamicConnectionAgent"
license=('MIT')
depends=('jack2' 'yaml-cpp' 'procps-ng')
makedepends=('cmake' 'git')
provides=('jackdynconagent')
conflicts=('jackdynconagent')
source=("$_pkgname::git://github.com/rewbycraft/JACKDynamicConnectionAgent.git#branch=master")
sha256sums=('SKIP')
options=( '!strip' '!buildflags' )
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_pkgname"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir" install
}