void-packages/srcpkgs/xinit/template
Leah Neukirchen 975d9830fe xinit: remove skel files.
We shipped two skeleton files for ~/.xinitrc and ~/.xsession, but the
default behavior of xinit/startx is more useful than an .xinitrc that
doesn't start a window manager, and the .xsession had a bug calling
bash -i which resulted in appending the .xinitrc into the user history...
drop this unnecessary stuff.

Users can copy /etc/X11/xinit/xinitrc as a starting point.
2022-04-07 18:52:32 +02:00

23 lines
619 B
Bash

# Template file for 'xinit'
pkgname=xinit
version=1.4.1
revision=3
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://xorgwiki.freedesktop.org/xorg"
distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.bz2"
checksum=de9b8f617b68a70f6caf87da01fcf0ebd2b75690cdcba9c921d0ef54fa54abb9
conf_files="
/etc/X11/xinit/xinitrc
/etc/X11/xinit/xserverrc"
post_install() {
vinstall ${FILESDIR}/xserverrc 644 etc/X11/xinit
vlicense COPYING
}