mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
add 'keyboard' pkg
This commit is contained in:
parent
b0aa053879
commit
32c8986f86
9
pkg/de-p1st-keyboard/00-keyboard.conf
Normal file
9
pkg/de-p1st-keyboard/00-keyboard.conf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
Section "InputClass"
|
||||||
|
Identifier "system-keyboard"
|
||||||
|
MatchIsKeyboard "on"
|
||||||
|
# German and Norwegian
|
||||||
|
Option "XkbLayout" "de,no"
|
||||||
|
Option "XkbVariant" "nodeadkeys"
|
||||||
|
# toggle between layouts with: ALT + CAPS-LOCK
|
||||||
|
Option "XkbOptions" "grp:alt_caps_toggle"
|
||||||
|
EndSection
|
31
pkg/de-p1st-keyboard/PKGBUILD
Normal file
31
pkg/de-p1st-keyboard/PKGBUILD
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
||||||
|
_pkgname=keyboard
|
||||||
|
_reponame=arch-pkg
|
||||||
|
pkgname="de-p1st-$_pkgname"
|
||||||
|
pkgver=0.0.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="vconsole (virtual console) and xorg (X11) keyboard configuration"
|
||||||
|
arch=('any')
|
||||||
|
url="https://git.privacy1st.de/langfingaz/${_reponame}"
|
||||||
|
license=('MIT')
|
||||||
|
groups=()
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
optdepends=()
|
||||||
|
provides=()
|
||||||
|
conflicts=()
|
||||||
|
replaces=()
|
||||||
|
backup=()
|
||||||
|
options=()
|
||||||
|
install=
|
||||||
|
changelog=
|
||||||
|
source=("git+${url}.git")
|
||||||
|
noextract=()
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
|
||||||
|
install -Dm0644 vconsole.conf "$pkgdir"/etc/vconsole.conf
|
||||||
|
install -Dm0644 00-keyboard.conf "$pkgdir"/etc/X11/xorg.conf.d/00-keyboard.conf
|
||||||
|
}
|
2
pkg/de-p1st-keyboard/vconsole.conf
Normal file
2
pkg/de-p1st-keyboard/vconsole.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# man 5 vconsole.conf
|
||||||
|
KEYMAP=de-latin1-nodeadkeys
|
3
pkg/de-p1st-systemd/00-journal-size.conf
Normal file
3
pkg/de-p1st-systemd/00-journal-size.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# https://wiki.archlinux.org/index.php/Systemd/Journal#Journal_size_limit
|
||||||
|
[Journal]
|
||||||
|
SystemMaxUse=128M
|
@ -1,2 +0,0 @@
|
|||||||
[Journal]
|
|
||||||
SystemMaxUse=128M
|
|
@ -26,5 +26,5 @@ sha256sums=('SKIP')
|
|||||||
package() {
|
package() {
|
||||||
cd "${_reponame}/pkg/${pkgname}"
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
|
||||||
install -Dm0644 00_journal_size.conf "$pkgdir"/etc/systemd.conf.d/00_journal_size.conf
|
install -Dm0644 00-journal-size.conf "$pkgdir"/etc/systemd.conf.d/00-journal-size.conf
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user