void-packages/srcpkgs/bgs/template

25 lines
630 B
Bash
Raw Normal View History

2014-07-15 17:37:39 +00:00
# Template file for 'bgs'
pkgname=bgs
2015-09-04 11:02:05 +00:00
version=0.8
2014-07-15 17:37:39 +00:00
revision=1
homepage="http://github.com/Gottox/bgs"
2015-05-12 08:58:39 +00:00
distfiles="$homepage/archive/v${version}.tar.gz"
2014-07-15 17:37:39 +00:00
makedepends="imlib2-devel libXinerama-devel"
2015-09-04 11:02:05 +00:00
hostmakedepends="pkg-config"
2014-07-15 17:37:39 +00:00
short_desc="An extremely fast and small background setter for X"
2015-05-12 09:13:40 +00:00
build_style=gnu-makefile
2015-05-12 08:51:27 +00:00
maintainer="Enno Boland <gottox@voidlinux.eu>"
2014-07-15 17:37:39 +00:00
license="MIT"
2015-09-04 11:02:05 +00:00
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
}
2014-07-15 17:37:39 +00:00
2015-05-12 09:13:40 +00:00
post_install() {
2015-09-04 11:02:05 +00:00
vlicense LICENSE
vdoc README
2014-07-15 17:37:39 +00:00
}