[arch-commits] Commit in gnome-disk-utility/trunk (2 files)

Ionut Biru ibiru at archlinux.org
Fri Mar 9 19:01:06 UTC 2012


    Date: Friday, March 9, 2012 @ 14:01:05
  Author: ibiru
Revision: 152831

update to 3.3.93

Modified:
  gnome-disk-utility/trunk/PKGBUILD
  gnome-disk-utility/trunk/gnome-disk-utility.install

----------------------------+
 PKGBUILD                   |   53 ++++++++++++-------------------------------
 gnome-disk-utility.install |    6 ++--
 2 files changed, 18 insertions(+), 41 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-09 18:52:51 UTC (rev 152830)
+++ PKGBUILD	2012-03-09 19:01:05 UTC (rev 152831)
@@ -2,51 +2,28 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 # Contributor: Silvio Knizek (killermoehre)
 
-pkgbase=gnome-disk-utility
-pkgname=(gnome-disk-utility libgdu)
-pkgver=3.0.2
-pkgrel=2
-pkgdesc="GNOME libraries and applications for dealing with storage devices"
+pkgname=gnome-disk-utility
+pkgver=3.3.93
+pkgrel=1
+pkgdesc="Disk Management Utility for GNOME"
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://www.gnome.org"
-makedepends=('dbus-glib' 'libgnome-keyring' 'udisks' 'libunique3' 'libnotify' 'avahi'
-             'hicolor-icon-theme' 'gtk-doc' 'intltool')
+depends=('gtk3' 'udisks2' 'hicolor-icon-theme')
+makedepends=('intltool')
 options=('!libtool' '!emptydirs')
-source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/${pkgver%.*}/${pkgbase}-${pkgver}.tar.xz
-       fix-freeze.patch)
-sha256sums=('7983f12ba04e84f164d0cae54bb06ed9b3ebe6c0a1c606d63d067fc395aeb0a5'
-            '818b70360978968457d2c50738347c6726ed8d0c007eb57074881a7e33652526')
+install=gnome-disk-utility.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('714d6a986ae04762d1a4ee6696ae3869f301e82a23701e2d4378e4263e04f20f')
 
 build() {
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  patch -Np1 -i "${srcdir}/fix-freeze.patch"
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-      --libexecdir=/usr/lib/gnome-disk-utility \
-      --disable-scrollkeeper --disable-nautilus --disable-static
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr --sysconfdir=/etc
+
   make
 }
 
-package_gnome-disk-utility() {
-  depends=("libgdu=$pkgver-$pkgrel" 'libunique3' 'libnotify' 'hicolor-icon-theme' 'avahi')
-  groups=('gnome-extra')
-  install=gnome-disk-utility.install
-
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-
-### Split libgdu
-
-  mkdir -p "$srcdir"/libgdu/usr/{include/gnome-disk-utility,lib/pkgconfig}
-
-  mv "$pkgdir"/usr/lib/libgdu.so* "$srcdir/libgdu/usr/lib"
-  mv {"$pkgdir","$srcdir/libgdu"}/usr/include/gnome-disk-utility/gdu
-  mv {"$pkgdir","$srcdir/libgdu"}/usr/lib/pkgconfig/gdu.pc
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
 }
-
-package_libgdu() {
-  pkgdesc="$pkgdesc (library)"
-  depends=('dbus-glib' 'libgnome-keyring' 'udisks')
-
-  mv "$srcdir"/libgdu/* "$pkgdir"
-}

Modified: gnome-disk-utility.install
===================================================================
--- gnome-disk-utility.install	2012-03-09 18:52:51 UTC (rev 152830)
+++ gnome-disk-utility.install	2012-03-09 19:01:05 UTC (rev 152831)
@@ -1,11 +1,11 @@
 post_install() {
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
 }
 
 post_upgrade() {
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+    post_install
 }
 
 post_remove() {
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+    post_install
 }




More information about the arch-commits mailing list