# Template file for 'awesome'
pkgname=awesome
version=3.5.1
revision=1
build_style=cmake
configure_args="-DSYSCONFDIR=/etc"
hostmakedepends="cmake which xmlto asciidoc>=8.6.6 pkg-config"
makedepends="libxcb-devel
 pango-devel xcb-util-devel>=0.3.9 xcb-util-image-devel>=0.3.9
 xcb-util-keysyms-devel>=0.3.9 xcb-util-wm-devel>=0.3.9
 startup-notification-devel>=0.12_3 imlib2-devel ImageMagick>=6.7.9.6_2
 libxdg-basedir-devel>=1.1.1_1 gdk-pixbuf-devel libXcursor-devel
 lua-devel>=5.1<5.2 dbus-devel lgi>=0.6.2_2"
short_desc="Highly configurable, next gen framework window manager for X"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
homepage="http://awesome.naquadah.org"
distfiles="${homepage}/download/${pkgname}-${version}.tar.xz"
checksum=71cd67ccf8b9c50f0142d6ab618172a01518ca3add2a0f6c245169baf9713218

pre_configure() {
	# Russian manpages fail to build.
	sed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt
}

awesome_package() {
	conf_files="/etc/xdg/awesome/rc.lua"
	depends="dbus-x11 lgi>=0.6.2_2"
	pkg_install() {
		vmove all
	}
}
