summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7109aa6dbba4f62b6c8a92a6aeaaf2e2a4a8ac70 (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
47
48
49
# Maintainer: Rafael Fontenelle <rafaelff@gnome.org>

_name=chronojump
pkgname=$_name-git
pkgver=1.6.2.451.g00e63dd5
pkgrel=1
pkgdesc="Measurement, management and statistics of sport short-time tests"
arch=('x86_64' 'i686')
url="http://chronojump.org/"
license=('GPL')
depends=('gstreamer0.10-base' 'python' 'gtk2')
makedepends=('gtk-sharp-2' 'mono' 'intltool' 'git')
checkdepends=()
optdepends=()
provides=($_name)
conflicts=($_name)
options=(!libtool)
install=$pkgname.install
source=("git+https://git.gnome.org/browse/$_name")
md5sums=('SKIP')

pkgver() {
    cd "$_name"
    git describe --long | sed 's/-/./g'
}

prepare() {
    cd "$_name"
    NOCONFIGURE=1 ./autogen.sh
     # fix path for mono 4.6.1.3-1
    sed -i 's|/mono/4.0/|/mono/4.5/|' configure
    
}

build() {
    cd "$_name"
    ./configure --prefix=/usr
    make
}

check() {
    cd "$_name"
    make -k check || true
}

package() {
    cd "$_name"
    make DESTDIR="$pkgdir" install
}