updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / deadbeef-devel-git / PKGBUILD
blobf2070f12b3485d64240a01e08070f5297ab4a2f6
1 # Maintainer: Shtsh <liparinai@gmail.com>
3 pkgname=deadbeef-devel-git
4 pkgver=20100601
5 pkgrel=1
6 pkgdesc="mp3/ogg/flac/sid/mod/nsf music player based on GTK2. Developer version"
7 url="http://deadbeef.sourceforge.net"
8 arch=('i686' 'x86_64')
9 license=('GPL2')
10 depends=('alsa-lib' 'gtk2' 'libsamplerate')
11 makedepends=('autoconf' 'automake' 'git')
12 optdepends=('libvorbis: ogg vorbis playback' 'libmad: mp1/2/3 playback' 'flac: flac playback' 'curl: lastfm scrobbler, shoutcast, icecast, podcast support' 'wavpack: wv playback' 'libsndfile: wav playback' 'libcdio: audio cd playback')
13 _gitroot="git://deadbeef.git.sourceforge.net/gitroot/deadbeef/deadbeef/"
14 _gitname="deadbeef"
16 conflicts=('deadbeef' 'deadbeef-git')
20 build() {
21   cd $startdir
23   msg "Connecting to github.com GIT server...."
24   if [ -d $_gitname ] ; then
25     cd $_gitname && git pull origin
26         git checkout devel
27     msg "The local files are updated."
28   else
29     git clone -b devel $_gitroot
30         cd "$_gitname"
31   fi
32   msg "GIT checkout done or server timeout"
35   msg "Building..."
37   ./autogen.sh
38   ./configure --prefix=/usr
39   make
40   make prefix=$pkgdir/usr install