summaryrefslogtreecommitdiff
path: root/extra/xfce4-timer-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xfce4-timer-plugin')
-rw-r--r--extra/xfce4-timer-plugin/PKGBUILD9
-rw-r--r--extra/xfce4-timer-plugin/xfce4-timer-plugin.install11
2 files changed, 16 insertions, 4 deletions
diff --git a/extra/xfce4-timer-plugin/PKGBUILD b/extra/xfce4-timer-plugin/PKGBUILD
index 44daac145..4aaa96ed7 100644
--- a/extra/xfce4-timer-plugin/PKGBUILD
+++ b/extra/xfce4-timer-plugin/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 149457 2012-02-08 03:29:26Z eric $
+# $Id: PKGBUILD 150121 2012-02-12 22:43:39Z eric $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Tobias Kieslich <tobias (at) archlinux.org>
pkgname=xfce4-timer-plugin
-pkgver=0.6.2
+pkgver=0.6.4
pkgrel=1
pkgdesc="plugin to track time for the Xfce4 panel"
arch=('i686' 'x86_64')
@@ -13,8 +13,9 @@ groups=('xfce4-goodies')
depends=('xfce4-panel' 'libxfcegui4')
makedepends=('intltool')
options=('!libtool')
-source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/0.6/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('688fe2dde9645bee1855e6a6c9579161')
+install=xfce4-timer-plugin.install
+source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('c2f9e113dcda742cd1559129b79f609b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/extra/xfce4-timer-plugin/xfce4-timer-plugin.install b/extra/xfce4-timer-plugin/xfce4-timer-plugin.install
new file mode 100644
index 000000000..17ca8f78a
--- /dev/null
+++ b/extra/xfce4-timer-plugin/xfce4-timer-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() {
+ post_install $1
+}