# Tanım: yüksek derece ayarlanabilir pencere yöneticisi altyapısı
# URL: https://awesomewm.org/
# Paketçi: milisarge
# Gerekler: asciidoc cmake docbook-xsl doxygen imagemagick xmlto cairo dbus gdk-pixbuf imlib2 libxdg-basedir lua lua-lgi pango startup-notification xcb-util-cursor xcb-util-keysyms xcb-util-wm libxkbcommon xcb-util-xrm
# Grup: sistem

isim=awesome
surum=4.2
devir=1
kaynak=(https://github.com/awesomeWM/awesome/releases/download/v4.2/awesome-4.2.tar.xz::$isim-$surum.tar.xz)

derle() {
	cd ${isim}-${surum}
	mkdir -p build
	cd build
	cmake .. \
	-DCMAKE_BUILD_TYPE=RELEASE \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DSYSCONFDIR=/etc \
	-DLUA_LIBRARY=/usr/lib/liblua.so
	make
	cd ..
	make -C build DESTDIR="${PKG}" install
	install -Dm 644 awesome.desktop -t "${PKG}/usr/share/xsessions"
}
