Skip to content

Instantly share code, notes, and snippets.

@XenHat
Created September 5, 2022 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XenHat/804cd7d47f92ad5157584cc746fa8062 to your computer and use it in GitHub Desktop.
Save XenHat/804cd7d47f92ad5157584cc746fa8062 to your computer and use it in GitHub Desktop.
updated ckbcomp
# 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=("https://salsa.debian.org/installer-team/console-setup/-/archive/${pkgver}/console-setup-${pkgver}.tar.bz2")
sha512sums=('e73a199da1c345c4f381fa63c485aed4f737c82be653f111e5cccce2c79d239fd655048a7c11cfff0962f9b3a93cd6e87e24fa39dbd6372552ea061d445f2732')
conflicts=(ckbcomp-bin)
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/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment