diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | abnt2-ext.install | 15 |
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..53161987bb15 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = abnt2-ext + pkgdesc = ABNT2 extended keyboard + pkgver = 2.1.1 + pkgrel = 1 + url = https://github.com/kugland/abnt2-ext-arch + install = abnt2-ext.install + arch = any + license = GPL + depends = xkeyboard-config + source = https://github.com/kugland/abnt2-ext-arch/archive/refs/tags/v2.1.1.tar.gz + sha256sums = 2bec38fb75b7750fd8388e814b6e99d47d029cbcdb7d6025e0b809ce2f73f574 + +pkgname = abnt2-ext + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a4dc1f1830a9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,16 @@ +pkgname=abnt2-ext +pkgver=2.1.1 +pkgrel=1 +pkgdesc="ABNT2 extended keyboard" +arch=(any) +url="https://github.com/kugland/abnt2-ext-arch" +license=('GPL') +depends=(xkeyboard-config) +source=("https://github.com/kugland/$pkgname-arch/archive/refs/tags/v$pkgver.tar.gz") +install="$pkgname.install" +sha256sums=('2bec38fb75b7750fd8388e814b6e99d47d029cbcdb7d6025e0b809ce2f73f574') + +package() { + cd "$srcdir/$pkgname-arch-$pkgver" + install -D -m 644 -o root -g root abnt2_ext "$pkgdir/usr/share/X11/xkb/symbols/abnt2_ext" +} diff --git a/abnt2-ext.install b/abnt2-ext.install new file mode 100644 index 000000000000..3b3a0b31f4ea --- /dev/null +++ b/abnt2-ext.install @@ -0,0 +1,15 @@ +post_install() { + echo "" + echo " To enable this layout globally, run as root:" + echo "" + echo " localectl set-x11-keymap --no-convert abnt2_ext" + echo "" + echo " Also don't forget to disable your desktop environment's" + echo " automatic managing of keyboard layouts. (For plasma you" + echo " may have to manually edit ~/.config/kxkbrc." + echo "" +} + +post_upgrade() { + post_install $1 +} |