summaryrefslogtreecommitdiff
path: root/extra/audacious
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-17 04:48:45 +0000
committerroot <root@rshg047.dnsready.net>2011-04-17 04:48:45 +0000
commit66f23fc95df1f1b02b24701055a63bddfd292451 (patch)
tree22bd436b3447d82959f6f030de7ffb83de1466c1 /extra/audacious
parentec549f64c923643d4b13dd7d364e080840ae3e29 (diff)
Sun Apr 17 04:48:45 UTC 2011
Diffstat (limited to 'extra/audacious')
-rw-r--r--extra/audacious/PKGBUILD24
-rw-r--r--extra/audacious/install12
2 files changed, 25 insertions, 11 deletions
diff --git a/extra/audacious/PKGBUILD b/extra/audacious/PKGBUILD
index 7fd520906..290d71e6c 100644
--- a/extra/audacious/PKGBUILD
+++ b/extra/audacious/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 111201 2011-02-24 23:45:10Z bisson $
+# $Id: PKGBUILD 119918 2011-04-16 22:59:51Z bisson $
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=audacious
-pkgver=2.4.4
+pkgver=2.5.0
pkgrel=1
pkgdesc='Lightweight, GTK2-based advanced audio player focused on audio quality'
arch=('i686' 'x86_64')
@@ -11,20 +12,21 @@ 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')
+source=("http://distfiles.atheme.org/$pkgname-$pkgver.tgz")
+sha1sums=('df76909c83a69b42197dab0702e0846295eceb1f')
+
provides=('audacious-player')
replaces=('audacious-player')
-install=audacious.install
-source=("http://distfiles.atheme.org/$pkgname-$pkgver.tgz")
-sha1sums=('697b2cc217cef9785cf7ec0c4ee617bc174fbe98')
+install=install
build() {
- cd "$srcdir/$pkgname-$pkgver"
- [[ $CARCH == x86_64 ]] && extraopts='' || extraopts='--disable-sse2'
- ./configure --prefix=/usr $extraopts
- make
+ 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
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}
diff --git a/extra/audacious/install b/extra/audacious/install
new file mode 100644
index 000000000..af0c8724a
--- /dev/null
+++ b/extra/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
+}