1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Damir Perisa <damir.perisa@bluewin.ch>
3 # Contributor: damir <damir@archlinux.org>
8 pkgdesc="A Gtk metronome application supporting different meters and speeds."
10 url="http://www.antcom.de/gtick/"
12 depends=('gtk2' 'libpulse')
13 makedepends=('libsndfile')
14 optdepends=('pulseaudio: pulseaudio sound system support')
15 install="$pkgname.install"
16 source=("http://www.antcom.de/gtick/download/$pkgname-$pkgver.tar.gz"
17 "http://www.antcom.de/gtick/mcenaney.png"
19 md5sums=('60a3e11000ec4b7a333cd0957b9cc841'
20 '01f8a09c9f9486df868963c67adecf73'
21 '862cbb21d3ddbd0cdbcc9afdc141414f')
24 cd "$srcdir/$pkgname-$pkgver"
26 # use oss as default sound system
27 sed -i "s|pulseaudio|oss|" src/globals.h
28 sed -i "/soundsystem =/s/pulseaudio/oss/" src/gtkoptions.c
30 ./configure --prefix=/usr
35 cd "$srcdir/$pkgname-$pkgver"
37 make DESTDIR="$pkgdir/" install
40 install -Dm644 ../$pkgname.desktop \
41 "$pkgdir/usr/share/applications/$pkgname.desktop"
44 install -Dm644 ../mcenaney.png \
45 "$pkgdir/usr/share/pixmaps/$pkgname.png"