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--[-rwxr-xr-x]linhes/ckbcomp/PKGBUILD49
3 files changed, 35 insertions, 31 deletions
diff --git a/linhes/ckbcomp/.SRCINFO b/linhes/ckbcomp/.SRCINFO
new file mode 100755
index 0000000..808afcc
--- /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.243
+ 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.243.tar.gz::https://salsa.debian.org/installer-team/console-setup/-/archive/1.243/console-setup-1.243.tar.gz
+ sha256sums = a03032f2c4df52e4be8780470485d5f6320cbf6f43e4f87abeca360c9f5ee315
+
+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
index 9a37cf8..0ed59ea 100755..100644
--- a/linhes/ckbcomp/PKGBUILD
+++ b/linhes/ckbcomp/PKGBUILD
@@ -1,39 +1,26 @@
-# Maintainer: Nissar Chababy <funilrys at outlook dot com>
-# Ex-Maintainer: Jeroen Bollen <jbinero at gmail dot comau>
+# Maintainer:
+# Contributor: Nissar Chababy <funilrys at outlook dot com>
+# Contributor: Jeroen Bollen <jbinero at gmail dot comau>
-pkgname=ckbcomp
-pkgver=1.230
+_pkgname="ckbcomp"
+pkgname="$_pkgname"
+pkgver=1.243
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.debian.org/debian/pool/main/c/console-setup/console-setup_${pkgver}.tar.xz")
-sha512sums=('5c756f5d8101aa844efc11ad071efb69658234c349036b259c6fe1d6fda331aede333358269c483efad6613b81dff7da8e9224ef5224fce40e6a745331b56a7d')
-conflicts=(ckbcomp-bin)
+url="https://salsa.debian.org/installer-team/console-setup"
+license=('GPL-2.0-or-later')
+arch=('any')
-package() {
- if [[ -d "${srcdir}/console-setup" ]]
- then
- cd console-setup
- elif [[ -d "${srcdir}/console-setup-${pkgver}" ]]
- then
- cd console-setup-${pkgver}
- elif [[ -d "${srcdir}/work" ]]
- then
- cd work
- else
- echo "Source directory not found.".
- exit 1
- fi
+makedepends=('git')
+_pkgsrc="console-setup-$pkgver"
+_pkgext="tar.gz"
+source=("$_pkgsrc.$_pkgext"::"$url/-/archive/$pkgver/$_pkgsrc.$_pkgext")
+sha256sums=('a03032f2c4df52e4be8780470485d5f6320cbf6f43e4f87abeca360c9f5ee315')
- if [[ ${?} != 0 ]]
- then
- cd console-setup-${pkgver}
- fi
+package() {
+ depends+=('perl')
- install -d ${pkgdir}/usr/bin/
- install -m755 Keyboard/ckbcomp ${pkgdir}/usr/bin/
+ cd "$_pkgsrc"
+ install -Dm755 Keyboard/ckbcomp -t "$pkgdir/usr/bin/"
}