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
3
pkgname=keywisp-git
4
_pkgname=keywisp
5
pkgver=0.1.0.r0.g6301d3b
6
pkgrel=1
7
pkgdesc='A small Wayland keystroke visualizer'
8
arch=('x86_64' 'aarch64')
9
url='https://github.com/happystraw/keywisp'
10
license=('MIT')
11
depends=('cairo' 'pango' 'libinput' 'libxkbcommon' 'wayland')
12
makedepends=('git' 'zig' 'wayland-protocols')
13
provides=('keywisp')
14
conflicts=('keywisp')
15
source=("$_pkgname::git+https://github.com/happystraw/$_pkgname.git")
16
sha512sums=('SKIP')
17
18
pkgver() {
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
27
build() {
28
cd "$srcdir/$_pkgname"
29
zig build -Doptimize=ReleaseSafe --prefix "$srcdir/artifacts"
30
}
31
32
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-18 07:39:23 | LOW | 1 |