void-packages/srcpkgs/awesome/template

30 lines
1.1 KiB
Bash

# Template file for 'awesome'
pkgname=awesome
version=4.3
revision=4
build_style=cmake
build_helper="qemu"
configure_args="-DSYSCONFDIR=/etc"
conf_files="/etc/xdg/awesome/rc.lua"
hostmakedepends="ruby-asciidoctor ImageMagick lgi lua pkg-config xmlto"
makedepends="libxcb-devel pango-devel xcb-util-devel xcb-util-image-devel
xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-cursor-devel
startup-notification-devel imlib2-devel lgi libxdg-basedir-devel
gdk-pixbuf-devel lua-devel dbus-devel libxkbcommon-devel xcb-util-xrm-devel"
depends="dbus-x11 lgi>=0.7.2 pango"
short_desc="Highly configurable, next gen framework window manager for X"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://awesomewm.org"
distfiles="https://github.com/awesomeWM/awesome/releases/download/v${version}/awesome-${version}.tar.xz"
checksum=78264d6f012350b371e339127aca485260bc0aa935eff578ba75ce1a00e11753
pre_configure() {
# Russian manpages fail to build.
vsed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt
}
post_install() {
vinstall awesome.desktop 644 usr/share/xsessions
}