vp-build/srcpkgs/bgs/template

25 lines
650 B
Bash

# Template file for 'bgs'
pkgname=bgs
version=0.8
revision=2
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="imlib2-devel libXinerama-devel"
short_desc="An extremely fast and small background setter for X"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="http://github.com/Gottox/bgs"
distfiles="http://github.com/Gottox/bgs/archive/v${version}.tar.gz"
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
}