lunar

LOW
maintainer yangtsesu 0 votes scanned 2026-09-28 09:20:32.001266
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: Yangtse Su <yangtsesu@gmail.com>
2
3pkgname=lunar
4pkgver=0.1.0
5pkgrel=1
6pkgdesc="Chinese lunisolar calendar CLI: a day profile, month and year grids, and a 八字 chart"
7arch=('x86_64')
8url="https://github.com/YangtseSu/lunar"
9license=('GPL-3.0-or-later')
10# libgcc provides libgcc_s.so.1, which the binary needs at runtime and which is
11# not part of glibc; tzdata is read by tz-rs's TimeZone::local(), which parses
12# the system tzdb and carries no copy of it. Verified with ldd and readelf.
13depends=('glibc' 'libgcc' 'tzdata')
14makedepends=('rust' 'cargo')
15# The project sets lto, codegen-units and strip in its own [profile.release],
16# so makepkg's defaults would apply a second, different set of flags.
17options=('!lto' '!strip')
18
19source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
20sha256sums=('a875a333e356ef3c7f676b34b3754a45df1cb6562e928be95a662bace03b9c8f')
21
22build() {
23 cd "$pkgname-$pkgver"
24 cargo build --release --frozen
25}
26
27check() {
28 cd "$pkgname-$pkgver"
29 cargo test --frozen
30}
31
32package() {
33 cd "$pkgname-$pkgver"
34
35 install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
36 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
37 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
38 install -Dm644 README.zh-CN.md "$pkgdir/usr/share/doc/$pkgname/README.zh-CN.md"
39}
40

Scan history

Scanned at (UTC)SeverityRules
2026-09-28 09:20:32 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