void-packages/srcpkgs/bgs/template

30 lines
846 B
Text
Raw Normal View History

2014-07-15 17:37:39 +00:00
# Template file for 'bgs'
pkgname=bgs
version=0.6
revision=1
homepage="http://github.com/Gottox/bgs"
distfiles="https://github.com/Gottox/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
makedepends="imlib2-devel libXinerama-devel"
short_desc="An extremely fast and small background setter for X"
maintainer="Enno Boland <eb@s01.de>"
license="MIT"
checksum=3f03fa59aea6ef554d26fe7a8dd2f6ad81fd01e7ad1ad1da86c9da516f3c32de
do_build() {
sed -i \
-e 's/CPPFLAGS =/CPPFLAGS +=/g' \
-e 's/^CFLAGS = -g/#CFLAGS += -g/g' \
-e 's/^#CFLAGS = -std/CFLAGS += -std/g' \
-e 's/^LDFLAGS = -g/#LDFLAGS += -g/g' \
-e 's/^#LDFLAGS = -s/LDFLAGS += -s/g' \
config.mk
make CC=$CC INCS="-I." LIBS="-lX11 -lXinerama -lImlib2"
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
vlicense LICENSE
vdoc README
vman bgs.1
}