[arch-commits] Commit in audacious/trunk (PKGBUILD install)

Gaetan Bisson bisson at archlinux.org
Thu Aug 25 02:57:32 UTC 2011


    Date: Wednesday, August 24, 2011 @ 22:57:32
  Author: bisson
Revision: 136225

upstream update

Modified:
  audacious/trunk/PKGBUILD
  audacious/trunk/install

----------+
 PKGBUILD |   15 +++++++++------
 install  |    5 +++--
 2 files changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-08-25 00:29:37 UTC (rev 136224)
+++ PKGBUILD	2011-08-25 02:57:32 UTC (rev 136225)
@@ -4,16 +4,19 @@
 # Maintainer: Gaetan Bisson <bisson at 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 @@
 
 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
 }
 

Modified: install
===================================================================
--- install	2011-08-25 00:29:37 UTC (rev 136224)
+++ install	2011-08-25 02:57:32 UTC (rev 136225)
@@ -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() {




More information about the arch-commits mailing list