keywisp-git

maintainer happystraw · 0 votes · scanned 2026-08-18 07:39:23.787586
LOW
View on AUR ↗
Why flagged Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

LOW Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Yutao Fang <happystraw@outlook.com>
2
3pkgname=keywisp-git
4_pkgname=keywisp
5pkgver=0.1.0.r0.g6301d3b
6pkgrel=1
7pkgdesc='A small Wayland keystroke visualizer'
8arch=('x86_64' 'aarch64')
9url='https://github.com/happystraw/keywisp'
10license=('MIT')
11depends=('cairo' 'pango' 'libinput' 'libxkbcommon' 'wayland')
12makedepends=('git' 'zig' 'wayland-protocols')
13provides=('keywisp')
14conflicts=('keywisp')
15source=("$_pkgname::git+https://github.com/happystraw/$_pkgname.git")
16sha512sums=('SKIP')
17
18pkgver() {
19 cd "$srcdir/$_pkgname"
20 (
21 set -o pipefail
22 git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
23 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
24 )
25}
26
27build() {
28 cd "$srcdir/$_pkgname"
29 zig build -Doptimize=ReleaseSafe --prefix "$srcdir/artifacts"
30}
31
32package() {
33 cd "$srcdir/$_pkgname"
34 install -Dm755 "$srcdir/artifacts/bin/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
35 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
36}
37

Scan history

Scanned at (UTC)SeverityRules
2026-08-18 07:39:23 LOW 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion