diff --git a/srcpkgs/bgs/template b/srcpkgs/bgs/template new file mode 100644 index 00000000000..4b04f42c018 --- /dev/null +++ b/srcpkgs/bgs/template @@ -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 " +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 +}