void-packages/srcpkgs/xinit/template

41 lines
1 KiB
Text
Raw Normal View History

# Template build file for 'xinit'.
pkgname=xinit
2012-01-31 16:17:58 +00:00
version=1.3.2
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="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/app/$pkgname-$version.tar.bz2"
2012-01-31 16:17:58 +00:00
checksum=a1867fdaa83f68750b12ba4305c3c62f5992d0f52cfeb98e96c27a8e690e0235
long_desc="
This package provides xinit and startx, utilities for starting the
X Window System server."
pre_configure() {
sed -i -e 's/XSLASHGLOB.sh/XSLASHGLOB/' xinitrc.cpp
}
post_install() {
vinstall ${FILESDIR}/xinitrc 644 etc/skel .xinitrc
vinstall ${FILESDIR}/xsession 644 etc/skel .xsession
vinstall ${FILESDIR}/xserverrc 644 etc/X11/xinit
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
xinit_package() {
conf_files="
/etc/X11/xinit/xinitrc
/etc/X11/xinit/xserverrc
/etc/skel/.xinitrc
/etc/skel/.xsession"
pkg_install() {
vmove etc
vmove usr
}
}