Created
September 5, 2022 20:24
-
-
Save XenHat/804cd7d47f92ad5157584cc746fa8062 to your computer and use it in GitHub Desktop.
updated ckbcomp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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