summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorredtide2019-11-12 09:25:03 +0100
committerredtide2019-11-12 09:25:03 +0100
commita4fbd51790af33bfad9212118d75eae51997cb0d (patch)
tree5184638a73aee12a1570545c5b7e0aa348250905
parent5713576a9888273af45b101a013963aba2571d96 (diff)
downloadaur-a4fbd51790af33bfad9212118d75eae51997cb0d.tar.gz
Added missing provides and conflict settings
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD28
2 files changed, 18 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b8526bedc80..d7079074b29 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = jacksettings-git
pkgdesc = JACK settings using jackd via systemd
- pkgver = r35.3b78f50
+ pkgver = r36.3e4500c
pkgrel = 1
url = https://github.com/azdrums/jacksettings
arch = x86_64
@@ -9,6 +9,8 @@ pkgbase = jacksettings-git
depends = qt5-base
depends = jack2
optdepends = a2jmidid: A daemon for exposing legacy ALSA sequencer applications in JACK MIDI system.
+ provides = jacksettings
+ conflicts = jacksettings
source = jacksettings-git::git+https://github.com/azdrums/jacksettings.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 811ef2c22c3..4e1461a4b4b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
-# Author: RedTide <redtid3@gmail.com>
+# Maintainer: RedTide <redtid3@gmail.com>
prjname=jacksettings
pkgname=${prjname}-git
-pkgver=r35.3b78f50
+pkgver=r36.3e4500c
pkgrel=1
pkgdesc="JACK settings using jackd via systemd"
url="https://github.com/azdrums/${prjname}"
@@ -11,22 +11,24 @@ license=('GPL2')
depends=('qt5-base' 'jack2')
optdepends=('a2jmidid: A daemon for exposing legacy ALSA sequencer applications in JACK MIDI system.')
makedepends=('git')
+provides=('jacksettings')
+conflicts=('jacksettings')
source=("${pkgname}"::"git+https://github.com/azdrums/${prjname}.git")
md5sums=('SKIP')
pkgver() {
- cd "$pkgname"
- ( set -o pipefail
- git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- )
+ cd "$pkgname"
+ ( set -o pipefail
+ git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ )
}
build() {
- cd "${srcdir}/${pkgname}"
- qmake PREFIX="/usr/" JACKSettings.pro
- make INSTALL_DIR=$pkgdir
+ cd "${srcdir}/${pkgname}"
+ qmake PREFIX="/usr/" JACKSettings.pro
+ make INSTALL_DIR=$pkgdir
}
package() {
- cd "${srcdir}/${pkgname}"
- make INSTALL_ROOT=$pkgdir install
- install -Dm644 "${srcdir}/${pkgname}/systemd/a2jmidi@.service" "${pkgdir}/usr/lib/systemd/user/a2jmidi@.service"
+ cd "${srcdir}/${pkgname}"
+ make INSTALL_ROOT=$pkgdir install
+ install -Dm644 "${srcdir}/${pkgname}/systemd/a2jmidi@.service" "${pkgdir}/usr/lib/systemd/user/a2jmidi@.service"
}