cosmic-viewer-git

LOW
maintainer LiamillionSS 0 votes scanned 2026-08-23 21:21:38.325556
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: LiamillionSS <liamillion-dev at protonmail dot com>
2# Contributor: Mark Wagie <mark dot wagie at proton dot me>
3pkgname=cosmic-viewer-git
4pkgver=r155.6c999eb
5pkgrel=1
6pkgdesc="An image viewer for the COSMIC desktop environment."
7arch=('x86_64' 'aarch64')
8url="https://github.com/pop-os/cosmic-viewer"
9license=('GPL-3.0-only')
10depends=(
11 'hicolor-icon-theme'
12 'libxkbcommon'
13 'libheif'
14 'libjpeg-turbo'
15)
16makedepends=(
17 'cargo'
18 'cmake'
19 'desktop-file-utils'
20 'git'
21 'just'
22 'mold'
23 'libheif'
24 'libjpeg-turbo'
25 'nasm'
26)
27provides=("${pkgname%-git}")
28conflicts=("${pkgname%-git}")
29source=('git+https://github.com/pop-os/cosmic-viewer.git')
30sha256sums=('SKIP')
31
32pkgver() {
33 cd "${pkgname%-git}"
34 ( set -o pipefail
35 git describe --long --tags --abbrev=7 | sed 's/^epoch-//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
36 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
37 )
38}
39
40prepare() {
41 cd "${pkgname%-git}"
42 export RUSTUP_TOOLCHAIN=stable
43 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
44}
45
46build() {
47 cd "${pkgname%-git}"
48 export RUSTUP_TOOLCHAIN=stable
49
50 # use mold instead of lld to speed up build
51 RUSTFLAGS+=" -C link-arg=-fuse-ld=mold"
52
53 # use nice to build with lower priority
54 nice just build-release --frozen
55}
56
57package() {
58 cd "${pkgname%-git}"
59 just rootdir="$pkgdir" install
60}
61

Scan history

Scanned at (UTC)SeverityRules
2026-08-23 21:21:38 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