# Maintainer: Natanael Copa pkgname=xfce4-battery-plugin pkgver=1.1.1 pkgrel=0 pkgdesc="A battery monitor plugin for the Xfce panel" url="http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin" arch="all" license="GPL-2.0" makedepends="xfce4-panel-dev libxfce4ui-dev perl-xml-parser intltool linux-headers" subpackages="$pkgname-lang" source="https://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 " builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="15c0755f95cc03db95f8fe61faa87607dcdb24622c8de3a7941c254e15bf3d65b6683e5a0ff1fd96ca252afede6763f4440c8455665e346169b1107ad44d6651 xfce4-battery-plugin-1.1.1.tar.bz2"