25 lines
649 B
Bash
25 lines
649 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="Extremely fast and small background setter for X"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/Gottox/bgs"
|
|
distfiles="https://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
|
|
}
|