blob: 6705c499b22dd610715aa735a41a654359c083af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $Id: PKGBUILD 99539 2010-11-15 11:06:22Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-xinit
pkgver=1.3.0
pkgrel=1
pkgdesc="X.Org initialisation program "
arch=('i686' 'x86_64')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libx11' 'xorg-xauth')
makedepends=('xorg-util-macros')
optdepends=('xorg-twm' 'xterm')
backup=('etc/skel/.xinitrc'
'etc/skel/.xsession'
'etc/X11/xinit/xserverrc'
'etc/X11/xinit/xinitrc')
groups=('xorg')
source=(${url}/releases/individual/app/xinit-${pkgver}.tar.bz2
06_move_serverauthfile_into_tmp.diff
xinitrc
xsession
xserverrc)
options=(!emptydirs)
md5sums=('bc4e8b7d1919597cc37a0d24aa149dda'
'abd072ec435ce084cf4e89c58f83d45c'
'cee2d70748a089fbc7db64a4a6e8fdb1'
'7873d97db30d6c279ed37e3559e7c59d'
'bb550d3b9a2d2b6cbe6e2667a3a7cd03')
build() {
cd "${srcdir}/xinit-${pkgver}"
patch -Np1 -i "${srcdir}/06_move_serverauthfile_into_tmp.diff"
./configure --prefix=/usr --with-xinitdir=/etc/X11/xinit
make || return 1
}
package() {
cd "${srcdir}/xinit-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/etc/skel"
install -m644 "${srcdir}/xinitrc" "${pkgdir}/etc/skel/.xinitrc"
install -m644 "${srcdir}/xsession" "${pkgdir}/etc/skel/.xsession"
install -m644 "${srcdir}/xserverrc" "${pkgdir}/etc/X11/xinit/xserverrc"
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|