2014-07-15 17:37:39 +00:00
|
|
|
# Template file for 'bgs'
|
|
|
|
pkgname=bgs
|
2015-05-12 08:51:27 +00:00
|
|
|
version=0.7
|
2014-07-15 17:37:39 +00:00
|
|
|
revision=1
|
|
|
|
homepage="http://github.com/Gottox/bgs"
|
2015-05-12 08:58:39 +00:00
|
|
|
distfiles="$homepage/archive/v${version}.tar.gz"
|
2014-07-15 17:37:39 +00:00
|
|
|
makedepends="imlib2-devel libXinerama-devel"
|
|
|
|
short_desc="An extremely fast and small background setter for X"
|
2015-05-12 08:51:27 +00:00
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
2014-07-15 17:37:39 +00:00
|
|
|
license="MIT"
|
2015-05-12 08:58:39 +00:00
|
|
|
checksum=0a09aefcb48795888c904633f8dc0fce097ba4d4b7604b73ca4001f96dfa3ff0
|
2014-07-15 17:37:39 +00:00
|
|
|
|
|
|
|
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
|
2015-05-12 08:58:39 +00:00
|
|
|
make CC=$CC INCS="-I." LIBS="-lX11 -lXinerama -lImlib2 -lm"
|
2014-07-15 17:37:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr DESTDIR=$DESTDIR install
|
|
|
|
vlicense LICENSE
|
|
|
|
vdoc README
|
|
|
|
vman bgs.1
|
|
|
|
}
|