diff options
Diffstat (limited to 'extra/audacious')
-rw-r--r-- | extra/audacious/PKGBUILD | 24 | ||||
-rw-r--r-- | extra/audacious/install | 12 |
2 files changed, 25 insertions, 11 deletions
diff --git a/extra/audacious/PKGBUILD b/extra/audacious/PKGBUILD index 4986fad6c..0991e44fb 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' 'mips64el') @@ -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 +} |