From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/xfce4-fsguard-plugin/PKGBUILD | 34 ++++++++++++++++++++++ .../xfce4-fsguard-plugin.install | 11 +++++++ 2 files changed, 45 insertions(+) create mode 100644 extra/xfce4-fsguard-plugin/PKGBUILD create mode 100644 extra/xfce4-fsguard-plugin/xfce4-fsguard-plugin.install (limited to 'extra/xfce4-fsguard-plugin') diff --git a/extra/xfce4-fsguard-plugin/PKGBUILD b/extra/xfce4-fsguard-plugin/PKGBUILD new file mode 100644 index 000000000..11202e348 --- /dev/null +++ b/extra/xfce4-fsguard-plugin/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 104748 2011-01-04 20:38:08Z andyrtr $ +# Maintainer: AndyRTR +# Contributor: Ben + +pkgname=xfce4-fsguard-plugin +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>=4.7.4' 'hicolor-icon-theme' 'libxfcegui4') +makedepends=('intltool') +options=(!libtool) +install=${pkgname}.install +source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.0/${pkgname}-${pkgver}.tar.bz2) +md5sums=('8378f922b59a0d5a378af5e45a18c4a3') + +build() { + 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 +} diff --git a/extra/xfce4-fsguard-plugin/xfce4-fsguard-plugin.install b/extra/xfce4-fsguard-plugin/xfce4-fsguard-plugin.install new file mode 100644 index 000000000..21b79d2d4 --- /dev/null +++ b/extra/xfce4-fsguard-plugin/xfce4-fsguard-plugin.install @@ -0,0 +1,11 @@ +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 +} -- cgit v1.2.3-54-g00ecf