winkel-git
LOW
maintainer douglasdemoura
0 votes
scanned 2026-09-15 21:20:38.565393
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>
2
pkgname=winkel-git
3
_pkgname=winkel
4
pkgver=0.1.0.r2.g330109a
5
pkgrel=1
6
pkgdesc="A metronome for Omarchy that follows the live theme (latest development version)"
7
arch=(x86_64 aarch64)
8
url="https://github.com/DouglasdeMoura/winkel"
9
license=(MIT)
10
depends=(quickshell alsa-lib gcc-libs glibc hicolor-icon-theme)
11
optdepends=('ttf-jetbrains-mono-nerd: the default interface font')
12
makedepends=(cargo git)
13
provides=("$_pkgname")
14
conflicts=("$_pkgname")
15
source=("$_pkgname::git+$url.git")
16
sha256sums=('SKIP')
17
18
pkgver() {
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
29
prepare() {
30
cd "$_pkgname"
31
export RUSTUP_TOOLCHAIN=stable
32
cargo fetch --locked --target "$(rustc --print host-tuple)"
33
}
34
35
build() {
36
cd "$_pkgname"
37
export RUSTUP_TOOLCHAIN=stable
38
export CARGO_TARGET_DIR=target
39
cargo build --frozen --release
40
}
41
42
check() {
43
cd "$_pkgname"
44
export RUSTUP_TOOLCHAIN=stable
45
WINKEL_SILENT=1 cargo test --frozen
46
}
47
48
package() {
49
cd "$_pkgname"
50
make install PREFIX=/usr DESTDIR="$pkgdir"
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-15 21:20:38 | Low | 1 |