void-packages/srcpkgs/xinit/template

31 lines
863 B
Plaintext
Raw Normal View History

# Template build file for 'xinit'.
pkgname=xinit
2013-09-13 10:30:10 +02:00
version=1.3.3
2014-02-14 15:06:33 +01:00
revision=2
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@gmail.com>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/app/$pkgname-$version.tar.bz2"
2013-09-13 10:30:10 +02:00
checksum=74b2878de6e3d5b5948f1562a77e7f53b4e10621e505ddb278050c7f3cae00af
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}
}