blob: 93d5e16dfb7722da91e9d740f5e86354163ce278 (
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
|
# 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.8 2006/06/30 15:57:13 wolf31o2 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
}
|