From 9d5ed9da9658a129bfe18935b9ed4cf63ad29d20 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 15 Jul 2014 19:37:39 +0200 Subject: [PATCH] New package: bgs-0.6 --- srcpkgs/bgs/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/bgs/template diff --git a/srcpkgs/bgs/template b/srcpkgs/bgs/template new file mode 100644 index 0000000000..4b04f42c01 --- /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 +}