#Maintainer: George Vlahavas pkgname=xfce4-battery-plugin pkgver=1.1.4 _majorver=`echo $pkgver | cut -d'.' -f 1,2` pkgrel=1gv source=("http://archive.xfce.org/src/panel-plugins/xfce4-battery-plugin/${_majorver}/xfce4-battery-plugin-${pkgver}.tar.bz2") 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 ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-debug \ --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg }