summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLlewelyn Trahaearn2015-07-16 04:02:17 -0700
committerLlewelyn Trahaearn2015-07-16 04:02:17 -0700
commit2664ca7c0a8d7ddaa04c060c7d5d0684bc36cc11 (patch)
tree9014eadd7a87f7d6993f4df4565a20634d6a8797 /PKGBUILD
parent714688fd988e1593e26a3a40c644895e6ab33543 (diff)
downloadaur-2664ca7c0a8d7ddaa04c060c7d5d0684bc36cc11.tar.gz
Package tuning.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 16 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f5d8ee51f8ab..f065df9220de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,37 +1,40 @@
# Maintainer: WoefulDerelict <WoefulDerelict at GMail dot com>
# Contributor: speps <speps at aur dot archlinux dot org>
-pkgname=ladish-git
+
+_pkgbase=ladish
+pkgname=${_pkgbase}-git
pkgver=0.3.r147.g5fe205f
-pkgrel=4
+pkgrel=1
pkgdesc="Session management system for JACK."
-arch=('any')
+arch=('i686' 'x86_64')
url="https://launchpad.net/ladish"
license=('GPL2')
-depends=('jack2-dbus' 'dbus-glib' 'laditools-git' 'flowcanvas<=0.7.1' 'a2jmidid')
+depends=('jack' 'dbus-glib' 'laditools-git' 'flowcanvas<=0.7.1' 'a2jmidid')
makedepends=('git' 'python2')
-provides=("ladish" "lash")
-conflicts=("ladish" "lash")
+provides=('ladish' 'lash')
+conflicts=('ladish' 'lash')
install=${pkgname}.install
-source=("git://repo.or.cz/ladish.git")
+source=("git://repo.or.cz/${_pkgbase}.git")
sha512sums=('SKIP')
pkgver() {
- cd ${srcdir}/ladish
+ cd "${srcdir}/${_pkgbase}"
( set -o pipefail
- git describe --long --tags 2>/dev/null | sed 's/^ladish-//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
+ git describe --long --tags 2>/dev/null | sed 's/^ladish.//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
prepare() {
- cd "${srcdir}/ladish"
- git checkout master
+ _branch=master
+ cd "${srcdir}/${_pkgbase}"
+ git checkout ${_branch}
sed -i "s|env python|&2|" ladish_control
sed -i "s|\(RELEASE = \).*|\1True|" wscript
}
build() {
- cd "${srcdir}/ladish"
+ cd "${srcdir}/${_pkgbase}"
export PYTHON=/usr/bin/python2
python2 waf configure --prefix=/usr \
--enable-liblash \
@@ -40,6 +43,6 @@ build() {
}
package() {
- cd "${srcdir}/ladish"
+ cd "${srcdir}/${_pkgbase}"
python2 waf install --destdir="${pkgdir}/"
}