void-packages/srcpkgs/xinit/template

27 lines
757 B
Bash

# Template file for 'xinit'
pkgname=xinit
version=1.4.0
revision=4
build_style=gnu-configure
configure_args="--with-xinitdir=/etc/X11/xinit"
hostmakedepends="pkg-config"
makedepends="libX11-devel"
short_desc="X init program"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.bz2"
checksum=230835eef2f5978a1e1344928168119373f6df1d0a32c09515e545721ee582ef
conf_files="
/etc/X11/xinit/xinitrc
/etc/X11/xinit/xserverrc
/etc/skel/.xinitrc
/etc/skel/.xsession"
post_install() {
vinstall ${FILESDIR}/xinitrc 644 etc/skel .xinitrc
vinstall ${FILESDIR}/xsession 644 etc/skel .xsession
vinstall ${FILESDIR}/xserverrc 644 etc/X11/xinit
vlicense COPYING
}