diff options
author | root <root@rshg054.dnsready.net> | 2012-04-30 00:01:38 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-30 00:01:38 +0000 |
commit | b7cd4b184f75d3d2b54b356e08f296df3a9afb38 (patch) | |
tree | dc5e84c1f7271cf0c8ec0221b5a22e48a884081a /testing/xfce4-time-out-plugin | |
parent | 4412991f6b4fd655fc1f51f8d79a0be0c10158b7 (diff) |
Mon Apr 30 00:01:38 UTC 2012
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 +} |