summaryrefslogtreecommitdiff
path: root/system/kbd
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-04 00:28:23 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-04 00:28:23 +0000
commitc071c7e115bf47b781cca3dd13bc5685d378e654 (patch)
tree639d4a4222b813c8a4cce4c8f4fdc3e91c882f36 /system/kbd
parentf2b5773da19ab397fbe64fd32dacc383cfe4cd77 (diff)
downloadpackages-c071c7e115bf47b781cca3dd13bc5685d378e654.tar.gz
packages-c071c7e115bf47b781cca3dd13bc5685d378e654.tar.bz2
packages-c071c7e115bf47b781cca3dd13bc5685d378e654.tar.xz
packages-c071c7e115bf47b781cca3dd13bc5685d378e654.zip
system/kbd: new package (no relation to alpine main/kbd)
Diffstat (limited to 'system/kbd')
-rw-r--r--system/kbd/APKBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/system/kbd/APKBUILD b/system/kbd/APKBUILD
new file mode 100644
index 000000000..38a367e10
--- /dev/null
+++ b/system/kbd/APKBUILD
@@ -0,0 +1,52 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kbd
+pkgver=2.0.4
+pkgrel=0
+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-dev $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"