mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:33:20 +08:00
added keyboardctl a dep from calamares to show the keyboard key numbers
This commit is contained in:
parent
dd7a18c6fe
commit
5fbccac92e
20
keyboardctl/PKGBUILD
Normal file
20
keyboardctl/PKGBUILD
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
pkgname=keyboardctl
|
||||
pkgver=0.1.6
|
||||
pkgrel=1
|
||||
arch=('x86_64')
|
||||
pkgdesc="Keymap setup program"
|
||||
url="https://github.com/manjaro/keyboardctl"
|
||||
license=('GPL')
|
||||
options=('emptydirs')
|
||||
depends=('kbd' 'xkeyboard-config' 'systemd')
|
||||
makedepends=('git')
|
||||
install=keyboardctl.install
|
||||
source=("git://github.com/manjaro/keyboardctl.git")
|
||||
md5sums=('SKIP')
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
8
keyboardctl/keyboardctl.install
Normal file
8
keyboardctl/keyboardctl.install
Normal file
@ -0,0 +1,8 @@
|
||||
post_upgrade() {
|
||||
rm '/etc/systemd/system/sysinit.target.wants/keyboardctl.service'
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
rm '/etc/systemd/system/sysinit.target.wants/keyboardctl.service'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user