aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD21
-rw-r--r--sv-dvorak-extended.install17
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..758f3f0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 15:00:11 UTC 2015
+pkgbase = sv-dvorak-extended
+ pkgdesc = An extended Swedish Dvorak keyboard layout.
+ pkgver = 1
+ pkgrel = 1
+ url = http://github.com/kyrias/sv-dvorak-extended
+ install = sv-dvorak-extended.install
+ arch = any
+ license = GPL
+ makedepends = git
+ depends = xorg-server
+ source = git+https://github.com/kyrias/sv-dvorak-extended.git
+ source = sv-dvorak-extended.install
+ md5sums = SKIP
+ md5sums = cc4d16eecbf7c4dd9bdf23694a447b8b
+
+pkgname = sv-dvorak-extended
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..33f4a78
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Johannes Löthberg <kyrias@archlinux.info>
+
+pkgname=sv-dvorak-extended
+pkgver=1
+pkgrel=1
+pkgdesc="An extended Swedish Dvorak keyboard layout."
+arch=(any)
+url="http://github.com/kyrias/sv-dvorak-extended"
+license=('GPL')
+depends=('xorg-server')
+makedepends=('git')
+install='sv-dvorak-extended.install'
+source=('git+https://github.com/kyrias/sv-dvorak-extended.git'
+ 'sv-dvorak-extended.install')
+md5sums=(SKIP
+ 'cc4d16eecbf7c4dd9bdf23694a447b8b')
+
+package() {
+ mkdir -p "$pkgdir/usr/share/X11/xkb/symbols/"
+ install -Dm644 "$srcdir/$pkgname/sv-dvorak-extended" "$pkgdir/usr/share/X11/xkb/symbols/sv-dvorak-extended"
+}
diff --git a/sv-dvorak-extended.install b/sv-dvorak-extended.install
new file mode 100644
index 0000000..c91f17d
--- /dev/null
+++ b/sv-dvorak-extended.install
@@ -0,0 +1,17 @@
+post_install() {
+ cat << EOF
+==> Add "sv-dvorak-extended Swedish Dvorak extended" to /usr/share/X11/xkb/rules/evdev.lst
+==> Optionally add the following lines to /usr/share/X11/xkb/rules/evdev.xml to be
+==> able to select the sv-dvorak-extended layout from your desktop environment:
+ <layout>
+ <configItem>
+ <name>sv-dvorak-extended</name>
+ <shortDescription>sv-dvorak-extended</shortDescription>
+ <description>Swedish (sv-dvorak-extended)</description>
+ <languageList>
+ <iso639Id>swe</iso639Id>
+ </languageList>
+ </configItem>
+ </layout>
+EOF
+}