blob: a6efc4814d8ba23141e560f43d75c079e5162cee (
plain)
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
39
40
41
42
|
# Maintainer: WoefulDerelict <WoefulDerelict at GMail dot com>
# Contributor: speps <speps at aur dot archlinux dot org>
pkgname=laditools-git
pkgver=r266.19f5455
pkgrel=1
pkgdesc="Utilities to improve integration and workflow with JACK and LASH."
arch=('any')
url="https://github.com/LADI/laditools"
license=('GPL3')
depends=('glade' 'jack' 'pygtk' 'python2' 'python2-enum' 'python2-yaml')
makedepends=('git' 'python2-distutils-extra')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
install=${pkgname}.install
source=("${pkgname}::git+https://github.com/LADI/laditools.git")
sha512sums=('SKIP')
_branch=master
pkgver() {
cd "${srcdir}/${pkgname}"
git checkout ${_branch} --quiet
( 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)"
)
}
prepare() {
cd "${srcdir}/${pkgname}"
git checkout ${_branch}
}
build() {
cd "${srcdir}/${pkgname}"
python2 setup.py build
}
package() {
cd "${srcdir}/${pkgname}"
python2 setup.py install --prefix=/usr --root="${pkgdir}/"
}
|