### this file is sourced not run
PKGVER=1.3.4
PKGBUILD=1
PKGARCH=x86_64

# source: post-BLFS 7.8 2015-12-24
TARBALL=xinit-$PKGVER.tar.bz2
MD5SUM=4e928452dfaf73851413a2d8b8c76388
SRC_URL=http://xorg.freedesktop.org/releases/individual/app/$TARBALL
BUNDLE=

SLACKREQ= # xorg libs
SLACKDESC="xinit: xinit $PKGVER (X Window start script)  
xinit:  
xinit: The xinit package contains a usable script to start the xserver.  
xinit: 
xinit: 
xinit: 
xinit: 
xinit: 
xinit: 
xinit: 
xinit:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/xinit*
	
	sed -e '/$serverargs $vtarg/ s/serverargs/: #&/' -i startx.cpp
	CONFFLAGS="$XORG_CONFIG --with-xinitdir=/etc/X11/app-defaults"
	pkg_build_autoconf && pkg_build_slackdesc
}
