zola-tera1

LOW
maintainer groctel 1 votes scanned 2026-08-29 17:40:20.882297
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: Groctel <git@taxorubio.com>
2# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
3# Maintainer: Caleb Maclennan <caleb@alerque.com>
4
5pkgname=zola-tera1
6pkgver=0.22.1
7pkgrel=2
8pkgdesc="The last Zola version before the breaking change to Tera 2"
9arch=('x86_64')
10url="https://github.com/getzola/zola"
11depends=('libgcc' 'glibc' 'oniguruma')
12makedepends=('cargo')
13license=('MIT')
14source=("${pkgname}-${pkgver}.tar.gz::https://github.com/getzola/zola/archive/v${pkgver}.tar.gz")
15sha256sums=('0f59479e05bce79e8d5860dc7e807ea818986094469ed8bf0bb46588ade95982')
16
17prepare() {
18 cd zola-$pkgver
19 cargo fetch --locked --target "$(rustc --print host-tuple)"
20}
21
22build() {
23 cd zola-$pkgver
24 CFLAGS+=' -ffat-lto-objects'
25 RUSTONIG_DYNAMIC_LIBONIG=1 cargo build --frozen --release
26}
27
28check() {
29 cd zola-$pkgver
30 RUSTONIG_DYNAMIC_LIBONIG=1 cargo test --frozen
31}
32
33package() {
34 cd zola-$pkgver
35 local _target="target/release/$pkgname"
36 install -Dm0755 -t "$pkgdir/usr/bin/" $_target
37 install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
38 $_target completion bash | install -Dm0644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/$pkgname"
39 $_target completion fish | install -Dm0644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish"
40 $_target completion zsh | install -Dm0644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_$pkgname"
41}
42
43# vim:set ts=2 sw=2 et:
44

Scan history

Scanned at (UTC)SeverityRules
2026-08-29 17:40:20 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