1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="X.Org initialisation program "
10 url="https://xorg.freedesktop.org/"
11 depends=('libx11' 'xorg-xauth' 'xorg-xrdb' 'xorg-xmodmap')
12 makedepends=('xorg-util-macros')
13 optdepends=('xorg-twm' 'xterm')
14 backup=('etc/X11/xinit/xserverrc'
15 'etc/X11/xinit/xinitrc')
16 source=(${url}/releases/individual/app/xinit-${pkgver}.tar.xz{,.sig}
17 06_move_serverauthfile_into_tmp.diff
21 sha512sums=('4b62c2edd97b40133577cbba88b3f31b36c5634b4eb667ef0c302e8358dc1c55a255abe42aaadc910d8aa9ea0e3add157a12a301382f1cdbe091df4e1215fae0'
23 '70fa34d8bd6b4f8557de9cebf04cf2ab8feb9902cc365c52edd44a4656391841bfa75df709d2fcee0da63dffa45f47a53b8751c9a82e91fd13d0680ade199a11'
24 '12a89cbb26902e135bb21f945c8de86526ff879c9f20a2601157f6a39899f021ed2970cee9e4fbcd4c13af6fe78e7902dd1f7ce1928fc914d681453bf848c0f8'
25 'f86d96d76bcb340021e7904925f0029f8662e4dfc32489198b3a8695dca069da496539e2287249c763fe9c4d8d5d591fd18fe49a0bee822cbbd0eb712efbb89b')
26 validpgpkeys=('7C2608F8E5F9E78D7A3F26FF177544B49AF313FB') # "Hans de Goede <jwrdegoede@fedoraproject.org>"
27 validpgpkeys+=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
31 patch -Np1 -i ../06_move_serverauthfile_into_tmp.diff
32 patch -Np1 -i ../fs25361.patch
33 sed -i -e 's/XSLASHGLOB.sh/XSLASHGLOB/' xinitrc.cpp
39 ./configure --prefix=/usr --with-xinitdir=/etc/X11/xinit
45 make DESTDIR="${pkgdir}" install
46 install -m644 "${srcdir}/xserverrc" "${pkgdir}/etc/X11/xinit/xserverrc"
47 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
48 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"