mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
983 B
Bash
29 lines
983 B
Bash
# $Id: PKGBUILD 18357 2008-11-04 16:33:10Z andyrtr $
|
|
# Maintainer: aurelien <aurelien@archlinux.org>
|
|
# Contributor: Aurelien Foret <orelien@chez.com>
|
|
|
|
pkgname=xfce4-battery-plugin
|
|
pkgver=0.5.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=('pkgconfig' 'perlxml')
|
|
options=('!libtool')
|
|
install=${pkgname}.install
|
|
source=(http://goodies.xfce.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2
|
|
compile_x86_64.diff)
|
|
md5sums=('d8a666d85bb3c1dd007b547de4dd7037' 'd9a927bca032e9b10a04046c154243a1')
|
|
|
|
build() {
|
|
cd ${startdir}/src/${pkgname}-${pkgver}
|
|
# fix http://bugzilla.xfce.org/show_bug.cgi?id=4359
|
|
patch -Np1 -i ${srcdir}/compile_x86_64.diff || return 1
|
|
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
|
|
--localstatedir=/var --disable-static
|
|
make || return 1
|
|
make DESTDIR=${startdir}/pkg install
|
|
}
|