mirror of
https://github.com/tuxdotrs/tuxOS.git
synced 2025-07-06 09:46:34 +05:30
35 lines
866 B
Bash
35 lines
866 B
Bash
# Maintainer: tux <0xtux@pm.me>
|
|
|
|
pkgname=ckbcomp
|
|
pkgver=1.218
|
|
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")
|
|
sha256sums=('f5df7952e205a9193a7f68de44abf33b0582408579e85aea1efc6c676f4214c2')
|
|
|
|
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/
|
|
}
|