split console and x11 keyboard config up

This commit is contained in:
Daniel Langbein 2021-04-23 10:22:16 +02:00
parent 7b5889f175
commit 91cd35fb5a
4 changed files with 35 additions and 5 deletions

View File

@ -17,12 +17,13 @@ depends+=('de-p1st-kernel')
depends+=('de-p1st-pacman') depends+=('de-p1st-pacman')
# metapackage for microcode # metapackage for microcode
depends+=('de-p1st-ucode') !! TODO !! depends+=('de-p1st-ucode') !! TODO !!
# bootmanager
depends+=('de-p1st-grub' 'efibootmgr')
# virtual console keyboard config
depends+=('de-p1st-keyboard')
# fonts # fonts
depends+=('noto-fonts' 'ttf-material-design-icons-git' 'ttf-unifont') depends+=('noto-fonts' 'ttf-material-design-icons-git' 'ttf-unifont')
# bootmanager
depends+=('de-p1st-grub' 'efibootmgr')
depends+=('de-p1st-keyboard')
optdepends=() optdepends=()
provides=() provides=()

View File

@ -0,0 +1,30 @@
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=keyboard-x11
_reponame=arch-pkg
pkgname="de-p1st-$_pkgname"
pkgver=0.0.1
pkgrel=1
pkgdesc="xorg (X11) keyboard configuration"
arch=('any')
url="https://git.privacy1st.de/langfingaz/${_reponame}"
license=('MIT')
groups=()
depends=()
makedepends=('git')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
install -Dm0644 00-keyboard.conf "$pkgdir"/etc/X11/xorg.conf.d/00-keyboard.conf
}

View File

@ -4,7 +4,7 @@ _reponame=arch-pkg
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.0.1 pkgver=0.0.1
pkgrel=1 pkgrel=1
pkgdesc="vconsole (virtual console) and xorg (X11) keyboard configuration" pkgdesc="vconsole (virtual console) keyboard configuration"
arch=('any') arch=('any')
url="https://git.privacy1st.de/langfingaz/${_reponame}" url="https://git.privacy1st.de/langfingaz/${_reponame}"
license=('MIT') license=('MIT')
@ -27,5 +27,4 @@ package() {
cd "${_reponame}/pkg/${pkgname}" cd "${_reponame}/pkg/${pkgname}"
install -Dm0644 vconsole.conf "$pkgdir"/etc/vconsole.conf install -Dm0644 vconsole.conf "$pkgdir"/etc/vconsole.conf
install -Dm0644 00-keyboard.conf "$pkgdir"/etc/X11/xorg.conf.d/00-keyboard.conf
} }