summaryrefslogtreecommitdiff
path: root/extra/audacious
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-25 23:14:43 +0000
committerroot <root@rshg054.dnsready.net>2011-08-25 23:14:43 +0000
commit9621cbabd4788b98dfdee59d784c4b4b58384c6b (patch)
tree8dbd549f0f81a825febf0db7fbf641db995459be /extra/audacious
parentf53c212680c1817ef2337855ef8814dea6b07e4e (diff)
Thu Aug 25 23:14:43 UTC 2011
Diffstat (limited to 'extra/audacious')
-rw-r--r--extra/audacious/PKGBUILD17
-rw-r--r--extra/audacious/install5
2 files changed, 13 insertions, 9 deletions
diff --git a/extra/audacious/PKGBUILD b/extra/audacious/PKGBUILD
index ecf4e4c7c..9447a6fd2 100644
--- a/extra/audacious/PKGBUILD
+++ b/extra/audacious/PKGBUILD
@@ -1,19 +1,22 @@
-# $Id: PKGBUILD 135326 2011-08-12 20:59:31Z bisson $
+# $Id: PKGBUILD 136227 2011-08-25 02:57:58Z bisson $
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=audacious
-pkgver=3.0.1
+pkgver=3.0.2
pkgrel=1
pkgdesc='Lightweight, GTK-based advanced audio player focused on audio quality'
arch=('i686' 'x86_64')
url='http://audacious-media-player.org/'
license=('GPL3')
-depends=('gtk3' 'libmcs' 'dbus-glib' 'libguess' 'libsm' 'audacious-plugins' 'desktop-file-utils' 'hicolor-icon-theme')
-optdepends=('unzip: zipped skins support')
+depends=('gtk3' 'libmcs' 'dbus-glib' 'libguess' 'libsm' 'audacious-plugins')
+optdepends=('unzip: zipped skins support'
+ 'hicolor-icon-theme: for icons'
+ 'gtk-update-icon-cache: for icons'
+ 'desktop-file-utils: desktop integration')
source=("http://distfiles.atheme.org/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('1532fce78702da80418d940dea96b857b75c1f9e')
+sha1sums=('68799076acafb151668285e8d9498048633d7b60')
provides=('audacious-player')
replaces=('audacious-player')
@@ -21,8 +24,8 @@ install=install
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- [[ ${CARCH} == x86_64 ]] && extraopts='' || extraopts='--disable-sse2'
- ./configure --prefix=/usr ${extraopts}
+ [[ ${CARCH} == x86_64 ]] && _extraopts='' || _extraopts='--disable-sse2'
+ ./configure --prefix=/usr ${_extraopts}
make
}
diff --git a/extra/audacious/install b/extra/audacious/install
index af0c8724a..4a3873e96 100644
--- a/extra/audacious/install
+++ b/extra/audacious/install
@@ -1,6 +1,7 @@
post_install() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ type update-desktop-database &>/dev/null && update-desktop-database -q
+ type gtk-update-icon-cache &>/dev/null && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ true
}
post_upgrade() {