32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Template file for 'awesome'
|
|
pkgname=awesome
|
|
version=4.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DSYSCONFDIR=/etc
|
|
-DLUA_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/lua5.2
|
|
-DLUA_LIBRARY=${XBPS_CROSS_BASE}/usr/lib/liblua5.2.so.5.2"
|
|
hostmakedepends="which xmlto asciidoc pkg-config"
|
|
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 ImageMagick lgi
|
|
libxdg-basedir-devel gdk-pixbuf-devel lua52-devel dbus-devel
|
|
libxkbcommon-devel xcb-util-xrm-devel"
|
|
depends="dbus-x11 lgi>=0.7.2 pango"
|
|
conf_files="/etc/xdg/awesome/rc.lua"
|
|
short_desc="Highly configurable, next gen framework window manager for X"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://awesomewm.org"
|
|
distfiles="https://github.com/awesomeWM/awesome-releases/raw/master/${pkgname}-${version}.tar.xz"
|
|
checksum=5c009730126fcef6bdcb6939084c9736fa02debbe28a5adc1b66297dcc67f333
|
|
|
|
pre_configure() {
|
|
# Russian manpages fail to build.
|
|
sed -i -e "s|es fr de ru|es fr de|g" CMakeLists.txt
|
|
sed -i -e "s|lua |lua5.2 |g" build-utils/lgi-check.sh
|
|
}
|
|
post_install() {
|
|
vinstall awesome.desktop 644 usr/share/xsessions
|
|
}
|