bgs: update to 0.7.1.

This commit is contained in:
Enno Boland 2015-05-12 11:13:40 +02:00
parent 7b3b4da576
commit d10d06bd78

View file

@ -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 <gottox@voidlinux.eu>"
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
}