1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Alexander Baldeck <alexander@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.bz2{,.sig}
17 06_move_serverauthfile_into_tmp.diff
20 use_uname_-n_instead_of_hostname.diff
23 sha512sums=('6cbc5d025a891c419f3f4493381b2fca57a67d78df866d2f16a83426f86bad6eca7f240fac12b25cbcc63df0fec41f625407184e044898602d66483715315340'
25 '99216b2d50052a0bafede9a2db1744a8b0313ccbc02c609502ddacb8684fc56c6f2656e6521c848880033b25005bb14a1bce0d6fefade85141ed56aad07dadf3'
26 '12a89cbb26902e135bb21f945c8de86526ff879c9f20a2601157f6a39899f021ed2970cee9e4fbcd4c13af6fe78e7902dd1f7ce1928fc914d681453bf848c0f8'
27 '8a36bff3c472763a9a46b9a36b8b4a15f03e6fb0387b12efba27f15dc500faa2a3f92c0f7e217a0b00da7c78682c7af6357cc6b88b550ece9bc89c477412b7e0'
28 '860aa77462e56d399ca0cc829e8a60f4df6d62eca5ac41bc52dd9e3783b7cf6e6e33ce27e76a86ae393058f53a0cb44624058cdd1733fcbfc96ab800882649f7'
29 'f86d96d76bcb340021e7904925f0029f8662e4dfc32489198b3a8695dca069da496539e2287249c763fe9c4d8d5d591fd18fe49a0bee822cbbd0eb712efbb89b')
30 validpgpkeys=('7C2608F8E5F9E78D7A3F26FF177544B49AF313FB') # "Hans de Goede <jwrdegoede@fedoraproject.org>"
31 validpgpkeys+=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
35 patch -Np1 -i ../06_move_serverauthfile_into_tmp.diff
36 patch -Np1 -i ../fs25361.patch
37 patch -Np1 -i ../fs46369.patch
39 patch -Np1 -i ../use_uname_-n_instead_of_hostname.diff
40 sed -i -e 's/XSLASHGLOB.sh/XSLASHGLOB/' xinitrc.cpp
46 ./configure --prefix=/usr --with-xinitdir=/etc/X11/xinit
52 make DESTDIR="${pkgdir}" install
53 install -m644 "${srcdir}/xserverrc" "${pkgdir}/etc/X11/xinit/xserverrc"
54 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
55 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"