blob: fccfab64a7f7923eafe4498ea780cfef349d0ba3 (
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
43
44
45
46
|
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
_pkgname=mod-midi-utilities
pkgname="${_pkgname}-git"
pkgver=r45.c912a95
pkgrel=2
pkgdesc="MIDI utility LV2 plugins from MOD Devices (git version)"
arch=('x86_64')
url="https://github.com/moddevices/mod-midi-utilities"
license=('GPL2')
groups=('lv2-plugins' 'pro-audio')
depends=('glibc' 'gcc-libs')
makedepends=('git' 'lv2')
provides=(${_pkgname})
conflicts=(${_pkgname})
source=("${_pkgname}::git+https://github.com/moddevices/mod-midi-utilities.git"
'remove-modgui.diff')
md5sums=('SKIP'
'01586d56193a64a33deea69121b3afaa')
pkgver() {
cd "${srcdir}/${_pkgname}"
( set -o pipefail
git describe --long --tags 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}"
patch -p1 -N -r - -i "${srcdir}"/remove-modgui.diff
}
build() {
cd "${srcdir}/${_pkgname}"
make PREFIX=/usr
}
package() {
cd "${srcdir}/${_pkgname}"
make DESTDIR="${pkgdir}" PREFIX=/usr install
}
# vim:set ts=2 sw=2 et:
|