From 8896dbb865bfecfd6dd9277d07db8f1453c607a5 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 10 Nov 2022 22:21:50 -0500
Subject: ckbcomp: initial inclusion

---
 linhes/ckbcomp/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100755 linhes/ckbcomp/PKGBUILD

diff --git a/linhes/ckbcomp/PKGBUILD b/linhes/ckbcomp/PKGBUILD
new file mode 100755
index 0000000..2ea62f9
--- /dev/null
+++ b/linhes/ckbcomp/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Nissar Chababy <funilrys at outlook dot com>
+# Ex-Maintainer: 	Jeroen Bollen <jbinero at gmail dot comau>
+
+pkgname=ckbcomp
+pkgver=1.210
+pkgrel=1
+pkgdesc="Compile a XKB keyboard description to a keymap suitable for loadkeys or kbdcontrol"
+arch=(any)
+url="http://anonscm.debian.org/cgit/d-i/console-setup.git/"
+license=('GPL2')
+depends=('perl')
+source=("http://ftp.de.debian.org/debian/pool/main/c/console-setup/console-setup_${pkgver}.tar.xz")
+sha512sums=('1bc223c99792aa634009023321f97f7b90ab5967e24ae885aa42b2f08c14131a2b0053ffe604eda9b5308009c6c0e9d8afea2ef848438bda4c324d759d9af2f6')
+
+package() {
+    if [[ -d "${srcdir}/console-setup" ]]
+    then
+        cd console-setup
+    elif [[ -d "${srcdir}/console-setup-${pkgver}" ]]
+    then 
+        cd console-setup-${pkgver} 
+    else
+	echo "Source directory not found.".
+	exit 1
+    fi
+
+
+    if [[ ${?} != 0 ]]
+    then
+        cd console-setup-${pkgver}
+    fi
+
+    install -d ${pkgdir}/usr/bin/
+    install -m755 Keyboard/ckbcomp ${pkgdir}/usr/bin/
+}
-- 
cgit v0.12

