blob: 9cd908aa8c6296d9dc1995ae17d361892804bbb7 (
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
|
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
# Contributor: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d)
# Contributor: orbisvicis <''.join(chr(ord(c)-1) for c in "pscjtwjdjtAhnbjm/dpn")>
_pkgname=gigedit
pkgname=$_pkgname-svn
pkgver=1.0.0.r2860
pkgrel=2
pkgdesc="An instrument editor for gigasampler files"
arch=("i686" "x86_64")
url="http://www.linuxsampler.org/"
license=("GPL")
depends=("gtkmm3" "linuxsampler")
makedepends=("subversion" "intltool" "docbook-xsl")
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}"::"svn+https://svn.linuxsampler.org/svn/$_pkgname/trunk")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
local rev="$(svnversion | tr -d '[[:alpha:]]')"
grep 'm4_define(gigedit' configure.ac | sed 's/m4_//' > version.m4
echo "gigedit_ver_major.gigedit_ver_minor.gigedit_ver_release" >>version.m4
local ver="$(m4 version.m4 | tr -d '[[:space:]]')"
echo "$ver.r$rev"
}
build() {
cd "$srcdir/${_pkgname}"
make -f Makefile.svn $MAKEFLAGS
CXXFLAGS="-std=c++11 $CXXFLAGS" ./configure --prefix=/usr --disable-static
make $MAKEFLAGS
}
package() {
cd "$srcdir/${_pkgname}"
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
|