zola-tera1
LOW
maintainer groctel
1 votes
scanned 2026-08-29 17:40:20.882297
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
5
pkgname=zola-tera1
6
pkgver=0.22.1
7
pkgrel=2
8
pkgdesc="The last Zola version before the breaking change to Tera 2"
9
arch=('x86_64')
10
url="https://github.com/getzola/zola"
11
depends=('libgcc' 'glibc' 'oniguruma')
12
makedepends=('cargo')
13
license=('MIT')
14
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/getzola/zola/archive/v${pkgver}.tar.gz")
15
sha256sums=('0f59479e05bce79e8d5860dc7e807ea818986094469ed8bf0bb46588ade95982')
16
17
prepare() {
18
cd zola-$pkgver
19
cargo fetch --locked --target "$(rustc --print host-tuple)"
20
}
21
22
build() {
23
cd zola-$pkgver
24
CFLAGS+=' -ffat-lto-objects'
25
RUSTONIG_DYNAMIC_LIBONIG=1 cargo build --frozen --release
26
}
27
28
check() {
29
cd zola-$pkgver
30
RUSTONIG_DYNAMIC_LIBONIG=1 cargo test --frozen
31
}
32
33
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-29 17:40:20 | Low | 1 |