diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | sv_dvorak.install | 17 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..df9409d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 13:54:27 UTC 2015 +pkgbase = sv_dvorak + pkgdesc = A (non-standard) Swedish dvorak keyboard layout. (Xorg driver, for console driver checkout the dvorak-se package.) + pkgver = 1 + pkgrel = 2 + url = http://tlundqvist.org/sv_dvorak/ + install = sv_dvorak.install + arch = any + license = GPL + depends = xorg-server + source = http://tlundqvist.org/sv_dvorak/drivers/se_sv_dvorak_new.xorg + md5sums = 1e4a2818c89e60001a1ec2d98911a0a0 + +pkgname = sv_dvorak + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..bd72603 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Johannes Löthberg <kyrias@archlinux.info> + +pkgname=sv_dvorak +pkgver=1 +pkgrel=2 +pkgdesc="A (non-standard) Swedish dvorak keyboard layout. (Xorg driver, for console driver checkout the dvorak-se package.)" +arch=(any) +url="http://tlundqvist.org/sv_dvorak/" +license=('GPL') +depends=('xorg-server') +install=sv_dvorak.install +source=("http://tlundqvist.org/sv_dvorak/drivers/se_sv_dvorak_new.xorg") +md5sums=('1e4a2818c89e60001a1ec2d98911a0a0') + +build() { + mkdir -p ${pkgdir}/usr/share/X11/xkb/symbols/ + install -Dm644 ${srcdir}/se_sv_dvorak_new.xorg ${pkgdir}/usr/share/X11/xkb/symbols/se_sv_dvorak +} diff --git a/sv_dvorak.install b/sv_dvorak.install new file mode 100644 index 0000000..0770046 --- /dev/null +++ b/sv_dvorak.install @@ -0,0 +1,17 @@ +post_install() { + cat << EOF +==> Add the following lines to /usr/share/X11/xkb/rules/evdev.xml +==> to be able to select the sv_dvorak layout from a GUI: + <layout> + <configItem> + <name>se_sv_dvorak</name> + + <shortDescription>sv_sv_dvorak</shortDescription> + <description>Swedish (sv_dvorak)</description> + <languageList> + <iso639Id>swe</iso639Id> + </languageList> + </configItem> + </layout> +EOF +} |