diff options
Diffstat (limited to 'extra/xfce4-weather-plugin')
-rw-r--r-- | extra/xfce4-weather-plugin/PKGBUILD | 34 | ||||
-rw-r--r-- | extra/xfce4-weather-plugin/xfce4-weather-plugin.install | 13 |
2 files changed, 47 insertions, 0 deletions
diff --git a/extra/xfce4-weather-plugin/PKGBUILD b/extra/xfce4-weather-plugin/PKGBUILD new file mode 100644 index 000000000..fb57ce0f3 --- /dev/null +++ b/extra/xfce4-weather-plugin/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 108785 2011-02-03 12:45:05Z andyrtr $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Suzy Williams <suzanne.williams3@verizon.net> + +pkgname=xfce4-weather-plugin +pkgver=0.7.4 +pkgrel=1 +pkgdesc="A weather plugin for the Xfce4 panel" +arch=(i686 x86_64) +license=('GPL2') +url="http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin" +groups=('xfce4-goodies') +depends=('xfce4-panel>=4.8.0' 'libxfcegui4' 'libxml2' 'hicolor-icon-theme') +makedepends=('intltool') +options=('!libtool') +install=${pkgname}.install +source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/0.7/${pkgname}-${pkgver}.tar.bz2) +md5sums=('03c972d13eba5cd226432ff66e3ff282') + +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-weather-plugin/xfce4-weather-plugin.install b/extra/xfce4-weather-plugin/xfce4-weather-plugin.install new file mode 100644 index 000000000..b0b7f29d1 --- /dev/null +++ b/extra/xfce4-weather-plugin/xfce4-weather-plugin.install @@ -0,0 +1,13 @@ +#!/bin/sh + +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 +} |