2014-07-15 19:37:39 +02:00
|
|
|
# Template file for 'bgs'
|
|
|
|
pkgname=bgs
|
2015-05-12 10:51:27 +02:00
|
|
|
version=0.7
|
2014-07-15 19:37:39 +02:00
|
|
|
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"
|
2015-05-12 10:51:27 +02:00
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
2014-07-15 19:37:39 +02:00
|
|
|
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
|
|
|
|
}
|