blob: 61d755e27c513dee54b042ee63560a71b77679b3 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kbd
pkgver=2.0.4
pkgrel=1
pkgdesc="Console keyboard and font management utilities"
url=" "
arch="all"
license="GPL-2.0+"
depends=""
makedepends="linux-headers linux-pam-dev"
checkdepends="check-dev"
subpackages="$pkgname-doc $pkgname-fonts::noarch $pkgname-keymaps::noarch
$pkgname-lang"
source="https://mirrors.kernel.org/pub/linux/utils/kbd/kbd-$pkgver.tar.xz"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
fonts() {
pkgdesc="Fonts shipped with Linux kbd tools"
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/consolefonts "$subpkgdir"/usr/share/
}
keymaps() {
pkgdesc="Legacy keymaps shipped with Linux kbd tools"
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/keymaps "$subpkgdir"/usr/share/
mv "$pkgdir"/usr/share/unimaps "$subpkgdir"/usr/share/
}
sha512sums="5e264b3695b0af0bc85e0a4fa2c43e13648d8ea82102f3b051c28da2abfc52977577c470bce48f30cec9b0d215297e48c9b05e00561c990e3770fb68f6544e0f kbd-2.0.4.tar.xz"
|