#Maintainer: George Vlahavas pkgname=xfce4-battery-plugin pkgver=r7895 pkgrel=1gv arch=x86_64 source=("http://pnboy.pinguix.com/gapan/sources/$pkgname/$pkgname-$pkgver.tar.xz" "xfce4-battery-plugin-0.5.0.1-2.6.24.patch") docs=("readme" "install" "copying*" "changelog" "authors" "news" "todo") url=http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "xfce4-battery-plugin - A battery monitor panel plugin for Xfce4" "xfce4-battery-plugin is a battery monitor panel plugin for Xfce4," "written by Nick Penwarden and Edscott Wilson Garcia, compatible with" "APM and ACPI, for Linux and *BSD." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/xfce4-battery-plugin-0.5.0.1-2.6.24.patch || exit 1 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-debug make || return 1 make install DESTDIR=$startdir/pkg }