void-packages/srcpkgs/bgs/template

25 lines
630 B
Bash

# Template file for 'bgs'
pkgname=bgs
version=0.8
revision=1
homepage="http://github.com/Gottox/bgs"
distfiles="$homepage/archive/v${version}.tar.gz"
makedepends="imlib2-devel libXinerama-devel"
hostmakedepends="pkg-config"
short_desc="An extremely fast and small background setter for X"
build_style=gnu-makefile
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT"
checksum=c52220a503f0ae1a200a2991893229ea981ae33722f41e9bc87bdf399f8d89e7
do_build() {
sed -i "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" config.mk
sed -i "/LDFLAGS/s|\-s|$LDFLAGS|g" config.mk
make CC=$CC
}
post_install() {
vlicense LICENSE
vdoc README
}