void-packages/srcpkgs/xinit/template

28 lines
772 B
Bash

# Template build file for 'xinit'.
pkgname=xinit
version=1.3.4
revision=4
build_pie=yes
build_style=gnu-configure
configure_args="--with-xinitdir=/etc/X11/xinit"
hostmakedepends="pkg-config"
makedepends="libX11-devel"
conf_files="
/etc/X11/xinit/xinitrc
/etc/X11/xinit/xserverrc
/etc/skel/.xinitrc
/etc/skel/.xsession"
short_desc="X init program"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/app/$pkgname-$version.tar.bz2"
checksum=75d88d7397a07e01db253163b7c7a00b249b3d30e99489f2734cac9a0c7902b3
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
}