mirror of
https://github.com/tuxdotrs/tuxOS.git
synced 2025-07-06 17:56:35 +05:30
added packages
This commit is contained in:
34
packages/ckbcomp/PKGBUILD
Normal file
34
packages/ckbcomp/PKGBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# 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/
|
||||
}
|
Reference in New Issue
Block a user