summaryrefslogtreecommitdiff
path: root/extra/audacious
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/audacious
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/audacious')
-rw-r--r--extra/audacious/PKGBUILD30
-rw-r--r--extra/audacious/audacious.install12
2 files changed, 42 insertions, 0 deletions
diff --git a/extra/audacious/PKGBUILD b/extra/audacious/PKGBUILD
new file mode 100644
index 000000000..7fd520906
--- /dev/null
+++ b/extra/audacious/PKGBUILD
@@ -0,0 +1,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
+}
diff --git a/extra/audacious/audacious.install b/extra/audacious/audacious.install
new file mode 100644
index 000000000..c317fbaca
--- /dev/null
+++ b/extra/audacious/audacious.install
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}