aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <demizide@gmail.com>2013-06-10 05:25:42 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:36 +0200
commit7fa9a418eea41f24b0ffb011540a1dd1ceb2b521 (patch)
treec422b3c599047f48b34305614f077dd2c92ecb15
downloadpkgbuilds-7fa9a418eea41f24b0ffb011540a1dd1ceb2b521.tar.xz
Added sv-dvorak-extended.
-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
+}