pixlay
LOW
maintainer yangtsesu
0 votes
scanned 2026-09-27 17:19:13.301701
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
pkgname=pixlay
3
pkgver=0.1.2
4
pkgrel=1
5
pkgdesc="Native Linux photo collage maker designed for GNOME."
6
# `aarch64` is the claim that this tree builds under Arch Linux ARM too, and that half of the
7
# package is built there: no GitHub runner has an aarch64 Arch userland. The release's arm64
8
# binaries are the runner's (`AGENTS.md`, "AUR discipline").
9
arch=('x86_64' 'aarch64')
10
url="https://github.com/YangtseSu/pixlay"
11
license=('GPL-3.0-or-later')
12
depends=('gtk4' 'libadwaita' 'glycin')
13
makedepends=('cargo' 'rust' 'meson' 'gettext')
14
optdepends=('libheif: decode HEIC and AVIF photos')
15
# `updpkgsums` fills the checksum from the pushed `v$pkgver` tag, so it carries `SKIP` until that
16
# tag exists — and a tag that was re-pointed needs the cached `packaging/arch/*.tar.gz` deleted
17
# first, because `updpkgsums` reads the file already in `SRCDEST` and would print the old tag's
18
# sum (measured 2026-09-27). `.SRCINFO`, the AUR's own file, comes from `makepkg --printsrcinfo`.
19
source=("$pkgname-$pkgver.tar.gz::https://github.com/YangtseSu/pixlay/archive/refs/tags/v$pkgver.tar.gz")
20
sha256sums=('0aa89d76242d2e151ac7bbc2b9ce9faab6d41c706d6acbf86650f6ed985e1c8d')
21
22
# `debug = 1` (Cargo.toml) writes the build path into every binary; the remap rewrites it
23
# to the directory the package itself has.
24
prepare() {
25
export RUSTFLAGS="${RUSTFLAGS:+$RUSTFLAGS }--remap-path-prefix=$srcdir=$pkgname-$pkgver"
26
}
27
28
build() {
29
cd "$pkgname-$pkgver"
30
31
# Vendored, so the build never reaches the network, and `CARGO_NET_OFFLINE` says so to
32
# the cargo call meson makes.
33
install -d .cargo
34
cargo vendor --locked vendor > .cargo/config.toml
35
36
export CARGO_NET_OFFLINE=true
37
meson setup build --prefix=/usr
38
meson compile -C build
39
}
40
41
package() {
42
cd "$pkgname-$pkgver"
43
44
meson install -C build --destdir "$pkgdir"
45
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
46
}
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-27 17:19:13 | Low | 1 |