New package: bgs-0.6

This commit is contained in:
Enno Boland 2014-07-15 19:37:39 +02:00
parent 1e671c0637
commit 9d5ed9da96

29
srcpkgs/bgs/template Normal file
View file

@ -0,0 +1,29 @@
# 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
}