blob: 0c1f0a9eb2fdc71858bd8099c71a877e808fcb47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Alynx Zhou <alynx.zhou@gmail.com>
pkgname=showmethekey
pkgver=1.8.0
pkgrel=1
pkgdesc="A screenkey alternative that works under Wayland via libinput."
arch=("x86_64" "i686" "aarch64" "armv7h" "armv6h")
url="https://showmethekey.alynx.one/"
license=("Apache")
depends=("libevdev" "udev" "libinput" "glib2" "gtk4" "json-glib" "cairo" "pango" "libxkbcommon" "polkit")
makedepends=("meson")
source=("https://github.com/AlynxZhou/${pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=('34f92feb90df1b617c58d3e34d8642e7d032ca0b5b4599eeda9b9d8a7df3398eea4617e58a2a55d31e02494837409e2405f92de0b478c20296bd98c8014ffe17')
prepare() {
cd "${pkgname}-${pkgver}"
mkdir -p build
}
build() {
cd "${pkgname}-${pkgver}/build"
arch-meson . ..
meson compile
}
package() {
cd "${pkgname}-${pkgver}/build"
meson install --destdir "${pkgdir}"
# Meson sets 755 for dirs, but polkit is 750.
install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
}
|