From 66f23fc95df1f1b02b24701055a63bddfd292451 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 17 Apr 2011 04:48:45 +0000 Subject: Sun Apr 17 04:48:45 UTC 2011 --- extra/audacious/PKGBUILD | 24 +++++++++++++----------- extra/audacious/install | 12 ++++++++++++ 2 files changed, 25 insertions(+), 11 deletions(-) create mode 100644 extra/audacious/install (limited to 'extra/audacious') 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 # Contributor: Giovanni Scafora +# Maintainer: Gaetan Bisson 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 +} -- cgit v1.2.3-54-g00ecf