blob: fac884a68d6c80359e8a30629fcd3490d5319822 (
plain)
1 # Description: Displays keys being pressed on a Wayland session
2 # URL: https://git.sr.ht/~sircmpwn/wshowkeys
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: libinput libxkbcommon pango wayland-protocols
5
6 name=wshowkeys
7 # https://github.com/ammgws/wshowkeys/blob/e8bfc78f08ebdd1316daae59ecc77e62bba68b2b/meson.build#L4
8 version=0.1.0
9 release=1
10 _commit=e8bfc78f08ebdd1316daae59ecc77e62bba68b2b
11 source=(https://github.com/ammgws/wshowkeys/archive/$_commit/$name-$version.tar.gz)
12
13 build() {
14 CC=gcc
15
16 meson setup $name-$_commit build \
17 --prefix=/usr \
18 --buildtype=plain \
19 --wrap-mode nodownload \
20 -D b_lto=true \
21 -D b_pie=true
22 meson compile -C build
23 DESTDIR=$PKG meson install -C build
24
25 chmod a+s $PKG/usr/bin/$name
26 }
|