diff options
Diffstat (limited to 'testing/xfce4-battery-plugin/PKGBUILD')
-rw-r--r-- | testing/xfce4-battery-plugin/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/xfce4-battery-plugin/PKGBUILD b/testing/xfce4-battery-plugin/PKGBUILD new file mode 100644 index 000000000..1ecb47585 --- /dev/null +++ b/testing/xfce4-battery-plugin/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 157653 2012-04-29 02:53:58Z foutrelis $ +# Maintainer: aurelien <aurelien@archlinux.org> +# Contributor: Aurelien Foret <orelien@chez.com> + +pkgname=xfce4-battery-plugin +pkgver=1.0.1 +pkgrel=2 +pkgdesc="A battery monitor plugin for the Xfce panel" +arch=('i686' 'x86_64') +license=('GPL2') +url="http://xfce-goodies.berlios.de/" +groups=('xfce4-goodies') +depends=('xfce4-panel') +makedepends=('intltool') +options=('!libtool') +install=$pkgname.install +source=(http://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) +sha256sums=('28c20a9cfa4461e5411b428aecad4a3c2f49eab69bb9a208b6ebb151c8bf212f') + +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 +} + +# vim:set ts=2 sw=2 et: |