void-packages/srcpkgs/bgs/template

25 lines
630 B
Bash
Raw Normal View History

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