# Template file for 'xinit'
pkgname=xinit
version=1.4.4
revision=1
build_style=gnu-configure
configure_args="--with-xinitdir=/etc/X11/xinit"
hostmakedepends="pkg-config"
makedepends="libX11-devel"
short_desc="X init program"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://gitlab.freedesktop.org/xorg/app/xinit"
distfiles="${XORG_SITE}/app/xinit-${version}.tar.xz"
checksum=40a47c7a164c7f981ce3787b4b37f7e411fb43231dcde543d70094075dacfef9

conf_files="
	/etc/X11/xinit/xinitrc
	/etc/X11/xinit/xserverrc"

post_install() {
	vinstall ${FILESDIR}/xserverrc 644 etc/X11/xinit
	vlicense COPYING
}
