2013-09-12 14:41:52 +00:00
|
|
|
# Template file for 'herbstluftwm'
|
|
|
|
pkgname=herbstluftwm
|
2014-06-23 10:03:55 +00:00
|
|
|
version=0.6.2
|
|
|
|
revision=1
|
2013-09-12 14:41:52 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libXinerama-devel libglib-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/xdg/${pkgname}/autostart"
|
2013-09-12 14:41:52 +00:00
|
|
|
short_desc="A manual tiling window manager for X"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-09-12 14:43:34 +00:00
|
|
|
license="Simplified BSD"
|
|
|
|
homepage="http://herbstluftwm.org"
|
2013-09-12 14:41:52 +00:00
|
|
|
distfiles="http://herbstluftwm.org/tarballs/${pkgname}-${version}.tar.gz"
|
2014-06-23 10:03:55 +00:00
|
|
|
checksum=a89f5c397aee7f1aa3b39dd53bc67e282679f02f1c0bf3c33c41a608e217f0ac
|
2013-09-12 14:41:52 +00:00
|
|
|
|
2014-06-23 10:03:55 +00:00
|
|
|
do_configure() {
|
|
|
|
sed -e 's,-I/usr/include,,g' -i config.mk
|
|
|
|
}
|
2013-09-12 14:41:52 +00:00
|
|
|
do_build() {
|
2014-06-23 10:03:55 +00:00
|
|
|
make COLOR=0 CC=$CC LD=$CC CFLAGS="$CFLAGS -std=c99"
|
2013-09-12 14:41:52 +00: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
|
|
|
|
}
|