void-packages/srcpkgs/xbattmon/template

19 lines
516 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/"
2016-01-22 09:14:40 +01:00
distfiles="http://dl.2f30.org/releases/${pkgname}-${version}.tar.gz"
2015-12-21 01:52:46 +01:00
checksum=760a39da5ae81e6af76a06268e8a26ceaae6b4d5e5b34367cbf8dd01b0cc5958
pre_build() {
cp "${FILESDIR}/config.h" .
sed -i '/^PREFIX =*/d' config.mk
}