1 # Contributor: sen <sen@archlinux.us>
6 pkgdesc="Spek helps to analyse your audio files by showing their spectrogram."
9 depends=('gtk2>=2.14' 'ffmpeg' 'desktop-file-utils' 'hicolor-icon-theme')
10 makedepends=('git' 'pkgconfig' 'intltool' 'automake' 'vala')
11 url="http://www.spek-project.org/"
19 _gitroot="git://github.com/alexkay/"
24 msg "Connecting to the GIT server...."
26 if [[ -d $srcdir/$_gitname ]] ; then
29 msg "The local files are updated."
31 git clone $_gitroot$_gitname
34 msg "GIT checkout done"
35 msg "Starting make..."
37 git clone $srcdir/$_gitname $srcdir/$_gitname-build
38 cd $srcdir/$_gitname-build
40 ./autogen.sh --prefix=/usr || return 1
42 make DESTDIR=$pkgdir install || return 1
44 rm -rf $srcdir/$_gitname-build