void-packages/srcpkgs/awesome/template
2013-10-13 09:21:42 +02:00

32 lines
1.1 KiB
Text

# Template file for 'awesome'
pkgname=awesome
version=3.5.2
revision=1
build_style=cmake
configure_args="-DSYSCONFDIR=/etc -DLUA_LIBRARY=/usr/lib/liblua.so.5.2"
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 xcb-util-cursor-devel>=0.1.0_2
startup-notification-devel>=0.12_3 imlib2-devel ImageMagick>=6.7.9.6_2 lgi>=0.7.2
libxdg-basedir-devel>=1.1.1_1 gdk-pixbuf-devel lua-devel>=5.2 dbus-devel"
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=188d65b02a8ef905be43f126e2591b0d3caf84e094fb6af5501ae5ef07503e86
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.7.2"
pkg_install() {
vmove all
vinstall ${wrksrc}/awesome.desktop 644 usr/share/xsessions
}
}