# Template file for 'notion'
pkgname="notion"
version=4.0.0
revision=2
archs="~*-musl"
short_desc="Tabbed, tiling window manager"
hostmakedepends="pkg-config gettext groff lua53"
makedepends="lua53-devel libXext-devel libXft-devel libSM-devel libXinerama-devel libXrandr-devel"
maintainer="Julian Wiesener <jw@vtoc.de>"
license="LGPL-2.1-or-later"
repository="nonfree"
homepage="https://notionnm.net/"
distfiles="https://github.com/raboof/notion/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=13ce5867667ad7a864c79f4cb1e322fa33ebcd872dfce6472026e4d69d1f4138

do_build() {
	make CC=$CC PREFIX=/usr ETCDIR=/etc/notion
}

do_install() {
	make DESTDIR=${DESTDIR} PREFIX=/usr ETCDIR=/etc/notion install
	vman man/notion.1
	vman man/notionflux.1
	vlicense LICENSE
}
