Commits

Anonymous committed c558981

neo-xkb: added a backup of the old xkb

Comments (0)

Files changed (2)

x11-misc/neo-xkb/Manifest

 DIST xkb.tgz 53832 RMD160 f40cf4db24e735cd2f9e0f07020cd19180ea34cb SHA1 39e1ecec42b29004d0578fa7fa49b868d2163bb2 SHA256 c81740462a769bac9338c4bdde7e7b968b7cd8598bdc50ccb29470c1796003f7
-EBUILD neo-xkb-2.0_p2308.ebuild 1180 RMD160 cdec57e91cb82b9968300de0b3043e8c1b907a7a SHA1 dd755e592101cb02d79968280ca1c0eb9f74c4a6 SHA256 53d04e70761db00fe63ac961f7fe96aa3ba908da58d61292d1f36157d6863f89
+EBUILD neo-xkb-2.0_p2308.ebuild 1340 RMD160 4aa404e8d1dbc50959886760800a0c5f5bb1f6d3 SHA1 f418c74ea32ffdf08d9f1a73dee6ad7fa9cea0b7 SHA256 537e3bfc52ea94f36d7cbe7f81aadc293f283454e829f54334dc09de65ea157a

x11-misc/neo-xkb/neo-xkb-2.0_p2308.ebuild

 
 src_install () {
 	dodir /usr/share/X11/
+	tar -C /usr/share/X11/ -czf ${D}/usr/share/X11/xkb-backup.tgz xkb/symbols/{de,level3,level5,shift} xkb/rules/{base,base.xml,evdev,evdev.xml} xkb/types/level5
 	tar -C ${D}/usr/share/X11/ -xzf xkb.tgz
 	dodir /etc/X11/xorg.conf.d
 	ewarn "Activate the keymap by default by setting xkbvariant "neo" in /etc/X11/xorg.conf.d/90-keytable.conf"
 	ewarn "    Option  \"XkbVariant\"    \"neo,basic\" Neo-Layout benutzen"
 	ewarn "    Option  \"XkbOptions\"    \"terminate:ctrl_alt_bksp\""
 	ewarn "EndSection"
-	ewarn "if installation fails, try emerging with FEATURES=-collision-protect emerge ${p}"
+	ewarn "if installation fails, try emerging with FEATURES=-collision-protect emerge ${PN}"
 }