+ Rename lua and lua-devel to lua52 and lua52-devel + Modify packages depending on lua52 accordingly: + Many packages auto-detect lua52 files + Some packages need hints where / how to find lua52 + One package (xmoto) downgraded to lua51, because it wouldn't find lua52 + One package (vim) upgraded to lua (5.3.1) There may be more packages upgradable without problems. I didn't want to change too much in this move without the respective package maintainers first taking a look. Most notably conky-cli wouldn't work with lua52. I upgraded it to 1.10.0 (same as conky) and tried to keep the flags the same for the change from gnu-configure to cmake.
31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# Template file for 'awesome'
|
|
pkgname=awesome
|
|
version=3.5.6
|
|
revision=3
|
|
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="cmake 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"
|
|
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://awesome.naquadah.org"
|
|
distfiles="${homepage}/download/${pkgname}-${version}.tar.xz"
|
|
checksum=37f49de187825425cb3096fc870959d5fec9302b22ffd0f2874d8a18e85046d7
|
|
|
|
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
|
|
}
|