void-packages/srcpkgs/xbattmon/template

23 lines
589 B
Bash

# Template file for 'xbattmon'
pkgname=xbattmon
version=1.1
revision=2
build_style=gnu-configure
make_install_args="PREFIX=/usr"
makedepends="libX11-devel"
short_desc="Simple battery monitor"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="ISC"
homepage="http://git.2f30.org/xbattmon/"
distfiles="http://dl.2f30.org/releases/${pkgname}-${version}.tar.gz"
checksum=4ff7b156c69a56e4e6649a9f3bf5ee72858f856e7aad3614e8b3275a29f226ff
pre_build() {
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
sed -i '/^PREFIX =*/d' config.mk
}
post_install() {
vlicense LICENSE
}