# $Id: PKGBUILD 181854 2013-04-04 14:49:51Z foutrelis $ # Maintainer: Evangelos Foutras # Contributor: Suzy Williams pkgname=xfce4-weather-plugin pkgver=0.8.3 pkgrel=3 pkgdesc="A weather plugin for the Xfce4 panel" arch=('i686' 'x86_64') url="http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin" license=('GPL2') groups=('xfce4-goodies') depends=('xfce4-panel' 'libxml2' 'libsoup' 'hicolor-icon-theme') makedepends=('intltool') options=('!libtool') install=$pkgname.install source=(http://archive.xfce.org/src/panel-plugins/$pkgname/0.8/$pkgname-$pkgver.tar.bz2 fix-color-parsing-when-reading-config-file.patch) sha256sums=('40a6a22be7653b15a47174a430da89040f178695b48e5e01e77990050f715ce4' 'dbf1f938e656293daeac4c3ab55061c5f61d8e29e470453b4e956081ca4722c7') build() { cd "$srcdir/$pkgname-$pkgver" patch -Np1 -i "$srcdir/fix-color-parsing-when-reading-config-file.patch" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ --disable-debug \ --disable-upower make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: