void-packages/srcpkgs/xbattmon/template
2016-01-22 09:17:56 +01:00

18 lines
516 B
Bash

# 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://dl.2f30.org/releases/${pkgname}-${version}.tar.gz"
checksum=760a39da5ae81e6af76a06268e8a26ceaae6b4d5e5b34367cbf8dd01b0cc5958
pre_build() {
cp "${FILESDIR}/config.h" .
sed -i '/^PREFIX =*/d' config.mk
}