diff options
author | SEGFAULT | 2021-07-31 17:29:24 +0100 |
---|---|---|
committer | SEGFAULT | 2021-07-31 17:29:24 +0100 |
commit | 7e2c20642f8a55edeb05b47fed081de9c555b8d9 (patch) | |
tree | f7158d77c0c27e3eb0d816be94facacf4f771bad | |
download | aur-7e2c20642f8a55edeb05b47fed081de9c555b8d9.tar.gz |
alpha PKGBUILD
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d615ebd9b09a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = jackctl-git + pkgdesc = A no fuss solution to wrangling Pro-Audio on Linux + pkgver = 0.0.0.47 + pkgrel = 1 + url = https://gitlab.com/IGBC/jackctl + arch = any + license = GPL3 + makedepends = git + makedepends = rust + makedepends = gtk3 + makedepends = cmake + makedepends = make + makedepends = clang + depends = gtk3 + depends = jack2 + depends = libappindicator-gtk3 + provides = jackctl + conflicts = jackctl + source = jackctl-git::git+https://gitlab.com/IGBC/jackctl + sha1sums = SKIP + +pkgname = jackctl-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0ef1a777c795 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: SEGFAULT <segfault@mailbox.org> +pkgname=jackctl-git +pkgver=0.0.0.47 +pkgrel=1 +pkgdesc='A no fuss solution to wrangling Pro-Audio on Linux' +arch=('any') +url='https://gitlab.com/IGBC/jackctl' +license=('GPL3') +depends=('gtk3' 'jack2' 'libappindicator-gtk3') +makedepends=('git' 'rust' 'gtk3' 'cmake' 'make' 'clang') +provides=('jackctl') +conflicts=('jackctl') +source=("${pkgname}::git+${url}") +sha1sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + printf "0.0.0.r%s" "$(git rev-list --count HEAD)" +} + +build () { + cd "${srcdir}/${pkgname}" + export CARGO_HOME="${srcdir}/${pkgname}/CARGO" + cargo build --release +} + +package() { + install -Dm644 ${srcdir}/${pkgname}/LICENSE.txt ${pkgdir}/usr/share/licenses/jackctl/LICENSE + install -Dm755 ${srcdir}/${pkgname}/target/release/jackctl ${pkgdir}/usr/bin/jackctl +} |