[arch-commits] Commit in xfce4-fsguard-plugin/trunk (2 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Jan 4 15:38:08 EST 2011


    Date: Tuesday, January 4, 2011 @ 15:38:08
  Author: andyrtr
Revision: 104748

upgpkg: xfce4-fsguard-plugin 1.0.0-1
new upstream release - part of Xfce 4.8pre3 release candidate

Added:
  xfce4-fsguard-plugin/trunk/xfce4-fsguard-plugin.install
Modified:
  xfce4-fsguard-plugin/trunk/PKGBUILD

------------------------------+
 PKGBUILD                     |   31 ++++++++++++++++++++-----------
 xfce4-fsguard-plugin.install |   16 ++++++++++++++++
 2 files changed, 36 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-04 20:34:01 UTC (rev 104747)
+++ PKGBUILD	2011-01-04 20:38:08 UTC (rev 104748)
@@ -1,25 +1,34 @@
 # $Id$
-# Maintainer: aurelien <aurelien at archlinux.org>
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
 # Contributor: Ben <ben at benmazer.net>
 
 pkgname=xfce4-fsguard-plugin
-pkgver=0.4.1
+pkgver=1.0.0
 pkgrel=1
 pkgdesc="File system usage monitor plugin for the Xfce4 panel"
 arch=(i686 x86_64)
 license=('GPL2')
 url="http://xfce-goodies.berlios.de/"
 groups=('xfce4-goodies')
-depends=('xfce4-panel')
-makedepends=('pkgconfig')
+depends=('xfce4-panel>=4.7.4' 'hicolor-icon-theme' 'libxfcegui4')
+makedepends=('intltool')
 options=(!libtool)
-source=(http://goodies.xfce.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('9904837616dd7894a6137d919cb3f355')
+install=${pkgname}.install
+source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.0/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('8378f922b59a0d5a378af5e45a18c4a3')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
-    --localstatedir=/var --disable-static
-  make || return 1
-  make DESTDIR=${startdir}/pkg/ install
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+	--sysconfdir=/etc \
+	--libexecdir=/usr/lib \
+	--localstatedir=/var \
+	--disable-static \
+	--disable-debug
+  make
 }
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Added: xfce4-fsguard-plugin.install
===================================================================
--- xfce4-fsguard-plugin.install	                        (rev 0)
+++ xfce4-fsguard-plugin.install	2011-01-04 20:38:08 UTC (rev 104748)
@@ -0,0 +1,16 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+op=$1
+shift
+
+$op $*



More information about the arch-commits mailing list