summaryrefslogtreecommitdiffstats
path: root/linhes/ckbcomp
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/ckbcomp')
-rwxr-xr-xlinhes/ckbcomp/.SRCINFO13
-rw-r--r--linhes/ckbcomp/.gitignore4
-rw-r--r--linhes/ckbcomp/PKGBUILD26
3 files changed, 43 insertions, 0 deletions
diff --git a/linhes/ckbcomp/.SRCINFO b/linhes/ckbcomp/.SRCINFO
new file mode 100755
index 0000000..d41c3d6
--- /dev/null
+++ b/linhes/ckbcomp/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = ckbcomp
+ pkgdesc = Compile a XKB keyboard description to a keymap suitable for loadkeys or kbdcontrol
+ pkgver = 1.244
+ pkgrel = 1
+ url = https://salsa.debian.org/installer-team/console-setup
+ arch = any
+ license = GPL-2.0-or-later
+ makedepends = git
+ source = console-setup-1.244.tar.gz::https://salsa.debian.org/installer-team/console-setup/-/archive/1.244/console-setup-1.244.tar.gz
+ sha256sums = f20bde550c8080140a062538d4157011152e57dcca3b9945fcdc6f1a8e5db383
+
+pkgname = ckbcomp
+ depends = perl
diff --git a/linhes/ckbcomp/.gitignore b/linhes/ckbcomp/.gitignore
new file mode 100644
index 0000000..018a3de
--- /dev/null
+++ b/linhes/ckbcomp/.gitignore
@@ -0,0 +1,4 @@
+*
+!PKGBUILD
+!.SRCINFO
+!.gitignore
diff --git a/linhes/ckbcomp/PKGBUILD b/linhes/ckbcomp/PKGBUILD
new file mode 100644
index 0000000..bcd46ce
--- /dev/null
+++ b/linhes/ckbcomp/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer:
+# Contributor: Nissar Chababy <funilrys at outlook dot com>
+# Contributor: Jeroen Bollen <jbinero at gmail dot comau>
+
+_pkgname="ckbcomp"
+pkgname="$_pkgname"
+pkgver=1.244
+pkgrel=1
+pkgdesc="Compile a XKB keyboard description to a keymap suitable for loadkeys or kbdcontrol"
+url="https://salsa.debian.org/installer-team/console-setup"
+license=('GPL-2.0-or-later')
+arch=('any')
+
+makedepends=('git')
+
+_pkgsrc="console-setup-$pkgver"
+_pkgext="tar.gz"
+source=("$_pkgsrc.$_pkgext"::"$url/-/archive/$pkgver/$_pkgsrc.$_pkgext")
+sha256sums=('f20bde550c8080140a062538d4157011152e57dcca3b9945fcdc6f1a8e5db383')
+
+package() {
+ depends+=('perl')
+
+ cd "$_pkgsrc"
+ install -Dm755 Keyboard/ckbcomp -t "$pkgdir/usr/bin/"
+}