summaryrefslogtreecommitdiff
path: root/extra/audacious/PKGBUILD
blob: 7fd52090639a82ce07d1ca5943b6bdc4dcbf6f1d (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
# $Id: PKGBUILD 111201 2011-02-24 23:45:10Z bisson $
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>

pkgname=audacious
pkgver=2.4.4
pkgrel=1
pkgdesc='Lightweight, GTK2-based advanced audio player focused on audio quality'
arch=('i686' 'x86_64')
url='http://audacious-media-player.org/'
license=('GPL3')
depends=('gtk2' 'libmcs' 'dbus-glib' 'libguess' 'audacious-plugins' 'desktop-file-utils' 'hicolor-icon-theme')
optdepends=('unzip: zipped skins support')
provides=('audacious-player')
replaces=('audacious-player')
install=audacious.install
source=("http://distfiles.atheme.org/$pkgname-$pkgver.tgz")
sha1sums=('697b2cc217cef9785cf7ec0c4ee617bc174fbe98')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  [[ $CARCH == x86_64 ]] && extraopts='' || extraopts='--disable-sse2'
  ./configure --prefix=/usr $extraopts
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}