diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-02-19 16:29:37 +0100 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-28 17:52:17 +0000 |
commit | 1f0af7530595329a7ca8b94d3ea35987fd17db62 (patch) | |
tree | 8843ac3f74cf33de7a08683f2d08123ebbef1968 /main/kbd/APKBUILD | |
parent | 2d87b9a12d5cea02961fbea755a0bcd24e7c2884 (diff) | |
download | aports-1f0af7530595329a7ca8b94d3ea35987fd17db62.tar.bz2 aports-1f0af7530595329a7ca8b94d3ea35987fd17db62.tar.xz |
main/kbd: add -openrc subpackage
OpenRC run scripts have been copied from the OpenRC source and contain
only minimal modifications.
Diffstat (limited to 'main/kbd/APKBUILD')
-rw-r--r-- | main/kbd/APKBUILD | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/main/kbd/APKBUILD b/main/kbd/APKBUILD index 22707dea66..45a122e25d 100644 --- a/main/kbd/APKBUILD +++ b/main/kbd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=kbd pkgver=2.0.4 -pkgrel=2 +pkgrel=3 pkgdesc="Tools for configuring the console (keyboard, virtual terminals, etc.)" url="http://ftp.altlinux.org/pub/people/legion/kbd" arch="all" @@ -10,12 +10,17 @@ license="GPL-2.0-or-later" depends="kbd-misc" makedepends="linux-headers linux-pam-dev check-dev ckbcomp xkeyboard-config" install="" -subpackages="$pkgname-bkeymaps::noarch $pkgname-legacy::noarch $pkgname-misc::noarch $pkgname-doc $pkgname-vlock" +subpackages="$pkgname-bkeymaps::noarch $pkgname-legacy::noarch + $pkgname-misc::noarch $pkgname-doc $pkgname-openrc $pkgname-vlock" source="https://www.kernel.org/pub/linux/utils/kbd/kbd-$pkgver.tar.gz + loadkeys.initd + loadkeys.confd + error.h fix-tests.patch " builddir="$srcdir"/kbd-$pkgver + _datadir=/usr/share _xmapdir="$_datadir"/keymaps/xkb _bmapdir="$_datadir"/bkeymaps @@ -62,6 +67,11 @@ package() { cd "$builddir" make DESTDIR="$pkgdir" install + install -Dm755 "$srcdir"/loadkeys.initd \ + "$pkgdir"/etc/init.d/loadkeys + install -Dm644 "$srcdir"/loadkeys.confd \ + "$pkgdir"/etc/conf.d/loadkeys + # Move and fixup legacy keymaps mkdir legacy mv "$pkgdir"/usr/share/keymaps/* legacy @@ -165,5 +175,7 @@ misc() { } sha512sums="e37bc661c75a8363e9a5ba903310fa7f7ded4f381c2c77aa7edc0b1aca5a63224933fd113cddcf180e7fb85f55407e0d1f47be1cdf69dcf2787e83ac996bbf03 kbd-2.0.4.tar.gz +64b5ab4c362350521da8f507d22c0b77784da99bbe1b32f0c001cd826f63c607e3f9cd6af01f06a61af8bd709760bbf2bb3cfe2010c33925f2987a1af6ef4998 loadkeys.initd +12028796552a5ffed1d5cb19d37fc6a73fb4f2e2bf34d837a81171c7ebee98d6c3f557715bf79706d79ce053b9b2450cd8cf1c4ea045428fb7d8a5915ae3ed78 loadkeys.confd c66f6b0d8c8b8d285c740bdbe7130dee272ac01cd5e73b35a58cedf1a77fe8d9e062631b804fb58014d8eb9861c8f28aed07bc022ef31662bcc61b5c85a21752 error.h bb67e5bb933a48f4a04402e07d7d67169a97485e6b469f8ccd4436466eb17ec2ddcf0ef74d22b3aae9e813feaee5bef0822ec50c384e0276a8c91f9325502a5f fix-tests.patch" |