2013-09-12 16:41:52 +02:00
|
|
|
# Template file for 'herbstluftwm'
|
|
|
|
pkgname=herbstluftwm
|
2014-06-23 12:03:55 +02:00
|
|
|
version=0.6.2
|
|
|
|
revision=1
|
2013-09-12 16:41:52 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libXinerama-devel libglib-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="/etc/xdg/${pkgname}/autostart"
|
2013-09-12 16:41:52 +02:00
|
|
|
short_desc="A manual tiling window manager for X"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-09-12 16:43:34 +02:00
|
|
|
license="Simplified BSD"
|
|
|
|
homepage="http://herbstluftwm.org"
|
2013-09-12 16:41:52 +02:00
|
|
|
distfiles="http://herbstluftwm.org/tarballs/${pkgname}-${version}.tar.gz"
|
2014-06-23 12:03:55 +02:00
|
|
|
checksum=a89f5c397aee7f1aa3b39dd53bc67e282679f02f1c0bf3c33c41a608e217f0ac
|
2013-09-12 16:41:52 +02:00
|
|
|
|
2014-06-23 12:03:55 +02:00
|
|
|
do_configure() {
|
|
|
|
sed -e 's,-I/usr/include,,g' -i config.mk
|
|
|
|
}
|
2013-09-12 16:41:52 +02:00
|
|
|
do_build() {
|
2014-06-23 12:03:55 +02:00
|
|
|
make COLOR=0 CC=$CC LD=$CC CFLAGS="$CFLAGS -std=c99"
|
2013-09-12 16:41:52 +02:00
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} COLOR=0 install
|
|
|
|
vmkdir usr/share/bash-completion/completions
|
|
|
|
mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions
|
|
|
|
}
|