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

Ionut Biru ibiru at archlinux.org
Sun Mar 11 10:17:05 UTC 2012


    Date: Sunday, March 11, 2012 @ 06:17:04
  Author: ibiru
Revision: 153025

update to 2.96

Modified:
  rhythmbox/trunk/PKGBUILD
  rhythmbox/trunk/rhythmbox.install

-------------------+
 PKGBUILD          |    8 ++++----
 rhythmbox.install |   17 ++++-------------
 2 files changed, 8 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-11 09:52:34 UTC (rev 153024)
+++ PKGBUILD	2012-03-11 10:17:04 UTC (rev 153025)
@@ -3,7 +3,7 @@
 # Contributor: Giovanni Scafora <giovanni at archlinux.org>
 
 pkgname=rhythmbox
-pkgver=2.95
+pkgver=2.96
 pkgrel=1
 pkgdesc="An iTunes-like music playback and management application"
 arch=('i686' 'x86_64')
@@ -19,10 +19,10 @@
 options=('!libtool' '!emptydirs')
 install=rhythmbox.install
 source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
-sha256sums=('12cab95c89514b5c01a2daf9d6bdf74c8652b35e49625e2906d51b487bc68c06')
+sha256sums=('3f93c74b2f7f8d7e1002e288db9abf8f182684277dec0a106d5e38415084b2b6')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
   PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
       --libexecdir=/usr/lib/rhythmbox \
       --localstatedir=/var --disable-static \
@@ -32,7 +32,7 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
 
   make DESTDIR="$pkgdir" install
 }

Modified: rhythmbox.install
===================================================================
--- rhythmbox.install	2012-03-11 09:52:34 UTC (rev 153024)
+++ rhythmbox.install	2012-03-11 10:17:04 UTC (rev 153025)
@@ -1,22 +1,13 @@
-pkgname=rhythmbox
-
 post_install() {
-    glib-compile-schemas usr/share/glib-2.0/schemas
+    glib-compile-schemas /usr/share/glib-2.0/schemas
     update-desktop-database -q
-    gtk-update-icon-cache -f -q -t usr/share/icons/hicolor
+    gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
 }
 
-pre_upgrade() {
-     if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
-         usr/sbin/gconfpkg --uninstall ${pkgname}
-     fi
-}
-
 post_upgrade() {
-    post_install $1
+    post_install
 }
 
-
 post_remove() {
-    post_install $1
+    post_install
 }




More information about the arch-commits mailing list