winkel-git

LOW
maintainer douglasdemoura 0 votes scanned 2026-09-15 21:20:38.565393
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: Douglas Moura <doug@douglasmoura.com>
2pkgname=winkel-git
3_pkgname=winkel
4pkgver=0.1.0.r2.g330109a
5pkgrel=1
6pkgdesc="A metronome for Omarchy that follows the live theme (latest development version)"
7arch=(x86_64 aarch64)
8url="https://github.com/DouglasdeMoura/winkel"
9license=(MIT)
10depends=(quickshell alsa-lib gcc-libs glibc hicolor-icon-theme)
11optdepends=('ttf-jetbrains-mono-nerd: the default interface font')
12makedepends=(cargo git)
13provides=("$_pkgname")
14conflicts=("$_pkgname")
15source=("$_pkgname::git+$url.git")
16sha256sums=('SKIP')
17
18pkgver() {
19 cd "$_pkgname"
20 # A pipe hides a failing git describe behind sed's success, so test it
21 # first: before the first tag there is nothing to describe.
22 if git describe --tags >/dev/null 2>&1; then
23 git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
24 else
25 printf "0.1.0.r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
26 fi
27}
28
29prepare() {
30 cd "$_pkgname"
31 export RUSTUP_TOOLCHAIN=stable
32 cargo fetch --locked --target "$(rustc --print host-tuple)"
33}
34
35build() {
36 cd "$_pkgname"
37 export RUSTUP_TOOLCHAIN=stable
38 export CARGO_TARGET_DIR=target
39 cargo build --frozen --release
40}
41
42check() {
43 cd "$_pkgname"
44 export RUSTUP_TOOLCHAIN=stable
45 WINKEL_SILENT=1 cargo test --frozen
46}
47
48package() {
49 cd "$_pkgname"
50 make install PREFIX=/usr DESTDIR="$pkgdir"
51}
52

Scan history

Scanned at (UTC)SeverityRules
2026-09-15 21:20:38 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