cosmic-ext-applet-clippy-land
LOW
maintainer AngelSherry
0 votes
scanned 2026-10-18 03:20:54.674149
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: AngelSherry
2
pkgname=cosmic-ext-applet-clippy-land
3
pkgver=1.1.1
4
pkgrel=1
5
pkgdesc='Clipboard history applet for the COSMIC panel'
6
arch=('x86_64')
7
url='https://github.com/k33wee/clippy-land'
8
license=('GPL-3.0-or-later')
9
depends=('cosmic-panel' 'cosmic-icon-theme' 'fontconfig' 'glibc' 'libgcc'
10
'libglvnd' 'libxkbcommon' 'wayland')
11
makedepends=('cargo' 'cmake' 'git' 'pkgconf')
12
conflicts=('cosmic-ext-applet-clippy-land-git')
13
source=("clippy-land-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
14
sha256sums=('db6df81a12712d0e4fbcddddb0d10bf65822c30828c6e6b7eb1a015e8be78b6e')
15
16
prepare() {
17
cd "clippy-land-${pkgver}"
18
# Cargo.lock pins the Git dependencies too; Git here does not make this a VCS package.
19
export RUSTUP_TOOLCHAIN=stable
20
cargo fetch --locked --target "$(rustc -vV | sed -n 's/^host: //p')"
21
}
22
23
build() {
24
cd "clippy-land-${pkgver}"
25
export RUSTUP_TOOLCHAIN=stable
26
export CARGO_TARGET_DIR=target
27
cargo build --release --frozen
28
}
29
30
check() {
31
cd "clippy-land-${pkgver}"
32
export RUSTUP_TOOLCHAIN=stable
33
export CARGO_TARGET_DIR=target
34
# Upstream's live-Wayland tests and manual benchmark stay ignored.
35
cargo test --release --frozen -- --test-threads=1
36
}
37
38
package() {
39
cd "clippy-land-${pkgver}"
40
local appid=io.github.k33wee.clippy-land
41
local binary=cosmic-applet-clippy-land
42
43
install -Dm755 "target/release/${binary}" "${pkgdir}/usr/bin/${binary}"
44
# The other upstream .sh launcher targets /app/bin and is Flatpak-only.
45
sh scripts/render-debug-wrapper.sh "resources/${binary}-debug.sh.in" \
46
"/usr/bin/${binary}" "${pkgdir}/usr/bin/${binary}-debug.sh"
47
# Do not embed $pkgdir in Exec= via `just prefix=... install`.
48
sh scripts/render-desktop-entry.sh "resources/${appid}.desktop" \
49
"/usr/bin/${binary}" "${pkgdir}/usr/share/applications/${appid}.desktop"
50
chmod 644 "${pkgdir}/usr/share/applications/${appid}.desktop"
51
install -Dm644 "resources/${appid}.metainfo.xml" \
52
"${pkgdir}/usr/share/metainfo/${appid}.metainfo.xml"
53
install -Dm644 resources/icon.svg \
54
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/${appid}.svg"
55
install -Dm644 resources/icon.svg \
56
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/${appid}-symbolic.svg"
57
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
58
}
59
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-18 03:20:54 | Low | 1 |