void-packages/srcpkgs/xbattmon/template

19 lines
516 B
Bash

# Template file for 'xbattmon'
pkgname=xbattmon
version=1.0
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=434c679732f1d02febb5b85273ac4ec1e5933a23f59476a3072eff552f21e69a
pre_build() {
cp "${FILESDIR}/config.h" .
sed -i '/^PREFIX =*/d' config.mk
}