void-packages/srcpkgs/xbattmon/template

19 lines
524 B
Bash
Raw Normal View History

2015-12-21 01:52:46 +01:00
# Template file for 'xbattmon'
pkgname=xbattmon
version=0.9
revision=1
build_style=gnu-configure
make_install_args="PREFIX=/usr"
makedepends="libX11-devel"
short_desc="Simple battery monitor"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="http://git.2f30.org/xbattmon/"
distfiles="http://git.2f30.org/$pkgname/snapshot/$pkgname-${version}.tar.gz"
checksum=760a39da5ae81e6af76a06268e8a26ceaae6b4d5e5b34367cbf8dd01b0cc5958
pre_build() {
cp "${FILESDIR}/config.h" .
sed -i '/^PREFIX =*/d' config.mk
}