diff --git a/srcpkgs/bgs/template b/srcpkgs/bgs/template index 43b6e4e952..7371ba197f 100644 --- a/srcpkgs/bgs/template +++ b/srcpkgs/bgs/template @@ -1,29 +1,17 @@ # Template file for 'bgs' pkgname=bgs -version=0.7 +version=0.7.1 revision=1 homepage="http://github.com/Gottox/bgs" distfiles="$homepage/archive/v${version}.tar.gz" makedepends="imlib2-devel libXinerama-devel" short_desc="An extremely fast and small background setter for X" +build_style=gnu-makefile maintainer="Enno Boland " license="MIT" -checksum=0a09aefcb48795888c904633f8dc0fce097ba4d4b7604b73ca4001f96dfa3ff0 +checksum=8883e35406114632f4098a8c47ac4ffa5afd795d9087d0abcf9d7cd5d208f5cd -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 -lm" -} - -do_install() { - make PREFIX=/usr DESTDIR=$DESTDIR install - vlicense LICENSE - vdoc README - vman bgs.1 +post_install() { + vlicense LICENSE + vdoc README }