blob: bc8f00b28a60bc1c30962195e035f06e84865b1c (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xkbdata/xkbdata-1.0.1.ebuild,v 1.11 2006/09/10 08:46:24 vapier Exp $
# Must be before x-modular eclass is inherited
#SNAPSHOT="yes"
inherit x-modular multilib
DESCRIPTION="X.Org xkbdata data"
KEYWORDS="alpha amd64 arm hppa mips ppc ppc64 s390 sh sparc x86"
RDEPEND="x11-apps/xkbcomp
!x11-misc/xkeyboard-config"
DEPEND="${RDEPEND}"
pkg_setup() {
# (#130590) The old XKB directory can screw stuff up
local DIR="${ROOT}usr/$(get_libdir)/X11/xkb"
if [[ -d ${DIR} ]] ; then
eerror "Directory ${DIR} should be"
eerror "manually deleted/renamed/relocated before installing!"
die "Manually remove ${DIR}"
fi
}
src_install() {
x-modular_src_install
keepdir /var/lib/xkb
dosym ../../../../var/lib/xkb /usr/share/X11/xkb/compiled
echo "CONFIG_PROTECT=\"/usr/share/X11/xkb\"" > ${T}/10xkbdata
doenvd ${T}/10xkbdata
}
|