bgs: fix build

This commit is contained in:
Enno Boland 2015-05-12 10:58:39 +02:00
parent ec4f841bcc
commit 7b3b4da576

View file

@ -3,12 +3,12 @@ pkgname=bgs
version=0.7
revision=1
homepage="http://github.com/Gottox/bgs"
distfiles="https://github.com/Gottox/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
distfiles="$homepage/archive/v${version}.tar.gz"
makedepends="imlib2-devel libXinerama-devel"
short_desc="An extremely fast and small background setter for X"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT"
checksum=3f03fa59aea6ef554d26fe7a8dd2f6ad81fd01e7ad1ad1da86c9da516f3c32de
checksum=0a09aefcb48795888c904633f8dc0fce097ba4d4b7604b73ca4001f96dfa3ff0
do_build() {
sed -i \
@ -18,7 +18,7 @@ do_build() {
-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"
make CC=$CC INCS="-I." LIBS="-lX11 -lXinerama -lImlib2 -lm"
}
do_install() {