2 # Maintainer: Radioactiveman <thomas-lange2@gmx.de>
3 # Contributor: Gaetan Bisson <bisson@archlinux.org>
4 # Contributor: Alexander Fehr <pizzapunk gmail com>
5 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
10 pkgdesc="Lightweight, GTK-based advanced audio player focused on audio quality"
11 url="http://audacious-media-player.org/"
13 arch=('i686' 'x86_64')
14 depends=('gtk3' 'dbus-glib' 'libguess' 'libsm' 'hicolor-icon-theme'
15 'gtk-update-icon-cache' 'desktop-file-utils')
16 makedepends=('pkg-config' 'git')
17 optdepends=('unzip: zipped skins support')
18 provides=('audacious')
19 conflicts=('audacious' 'audacious-player-hg')
22 _gitroot="git://github.com/audacious-media-player/audacious.git"
25 # Choose between 'master' (devel) and '3.2.x' (stable)
29 msg "Connecting to GIT server..."
31 if [[ -d ${_gitname} ]]; then
32 ( cd ${_gitname} && git pull origin )
33 msg "The local files are updated."
35 git clone -b ${_version} ${_gitroot}
38 msg "GIT checkout done or server timeout"
39 msg "Starting make..."
41 rm -rf ${_gitname}-build
42 git clone ${_gitname}{,-build}
48 --with-buildstamp="Arch Linux"
53 cd "${srcdir}/${_gitname}-build"
54 make DESTDIR="${pkgdir}" install