diff options
Diffstat (limited to 'testing/xfce4-time-out-plugin')
-rw-r--r-- | testing/xfce4-time-out-plugin/PKGBUILD | 35 | ||||
-rw-r--r-- | testing/xfce4-time-out-plugin/xfce4-time-out-plugin.install | 11 |
2 files changed, 46 insertions, 0 deletions
diff --git a/testing/xfce4-time-out-plugin/PKGBUILD b/testing/xfce4-time-out-plugin/PKGBUILD new file mode 100644 index 000000000..367a2b02c --- /dev/null +++ b/testing/xfce4-time-out-plugin/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 157707 2012-04-29 02:55:26Z foutrelis $ +# Maintainer: AndyRTR <andyrtr@archlinux.org> +# Contributor: Abhishek Dasgupta <abhidg@gmail.com> + +pkgname=xfce4-time-out-plugin +pkgver=1.0.1 +pkgrel=2 +pkgdesc="Take a break from your computer with this plugin for XFCE4." +arch=('i686' 'x86_64') +url="http://xfce-goodies.berlios.de/" +groups=('xfce4-goodies') +license=('GPL') +depends=('xfce4-panel>=4.7.0') +makedepends=('intltool') +options=('!libtool') +install=${pkgname}.install +source=(http://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) +md5sums=('b6e4a3145d31c341e2506fb17b014587') + +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/testing/xfce4-time-out-plugin/xfce4-time-out-plugin.install b/testing/xfce4-time-out-plugin/xfce4-time-out-plugin.install new file mode 100644 index 000000000..21b79d2d4 --- /dev/null +++ b/testing/xfce4-time-out-plugin/xfce4-time-out-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 +} |