void-packages/srcpkgs/i3/template

34 lines
929 B
Bash

# Template file for 'i3'
pkgname=i3
version=4.21
revision=1
build_style=meson
hostmakedepends="pkg-config perl"
makedepends="pcre2-devel yajl-devel libxcb-devel libev-devel
pango-devel startup-notification-devel libxkbcommon-devel
xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-cursor-devel
xcb-util-xrm-devel"
conf_files="/etc/i3/config /etc/i3/config.keycodes"
short_desc="Improved tiling window manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://i3wm.org/"
distfiles="${homepage}/downloads/${pkgname}-${version}.tar.xz"
checksum=8dc5205e0f3443d58661e30783521fd9c6d426d1e7f3667ab12f2ac1b2d32078
do_check() {
: "Michael disables tests in Debian rules, too"
}
post_install() {
vlicense LICENSE
vmkdir usr/share/man/man1
install -m644 man/*.1 ${DESTDIR}/usr/share/man/man1
}
i3-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}