void-packages/srcpkgs/xbattmon/template
2017-07-30 21:19:21 +02:00

18 lines
516 B
Bash

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