#Maintainer:Tim Beech (tim~beech~at~gmail~dot~com) pkgname=xbattbar-acpi pkgver=0.4.0 pkgrel=2tjb #arch= source=(https://github.com/aravind/xbattbar-acpi/archive/master.zip) sourcetemplate="http://people.salixos.org/mimosa/packages/$pkgname/$pkgver" docs=("AUTHORS" "COPYING" "README" "copyright" "NEWS" "todo" "INSTALL") url="https://github.com/aravind/xbattbar-acpi" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "xbattbar-acpi (simple battery monitor)" "xbattbar-acpi shows the current (laptop) battery status in the X" "window environment. Battery status is obtained through the ACPI" "kernel module." ) build() { cd $startdir/src/$pkgname-master make || return 1 mkdir -p $startdir/pkg/usr/bin mkdir -p $startdir/pkg/usr/share/man/man1 # without the above two lines slkbuild fails saying it is unable to create /files/ with those names make install DESTDIR=$startdir/pkg }