gnome-shell-extension-clipboard-indicator-latest
LOW
maintainer the-k
0 votes
scanned 2026-10-07 14:05:47.471701
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
#!/bin/bash -e
2
#
3
# Maintainer: Ľubomír 'the-k' Kučera <lubomir.kucera.jr at gmail.com>
4
# Contributor: Jonian Guveli <https://github.com/jonian/>
5
6
_pkgname=gnome-shell-extension-clipboard-indicator
7
_uuid=clipboard-indicator@tudmotu.com
8
pkgname="${_pkgname}-latest"
9
pkgver=71
10
pkgrel=2
11
pkgdesc="The most popular clipboard manager for GNOME - always up-to-date"
12
arch=("any")
13
url="https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator"
14
license=("MIT")
15
makedepends=(
16
jq
17
)
18
provides=(
19
"${_pkgname}"
20
)
21
conflicts=(
22
"${_pkgname}"
23
gnome-shell-extension-clipboard-history
24
)
25
source=(
26
"${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
27
gnome-51-pr-641.patch
28
)
29
sha256sums=('31d6c3694889b0f1c257b113926643e6a37610495f501cbd810eb2c14b9ebd85'
30
'4b790f67fad8458b1d1706f34e3f7edfc68d5f179193da5a16c457f22c6fb433')
31
32
prepare() {
33
cd "${_pkgname}-${pkgver}"
34
35
sed -i \
36
-e 's/\bREADME\.rst\b//' \
37
-e 's/^\(install:\) all$/\1/' \
38
Makefile
39
40
patch -p1 -i ../gnome-51-pr-641.patch
41
}
42
43
package() {
44
depends=(
45
"gnome-shell"
46
)
47
48
: "${pkgdir:?}"
49
50
cd "${_pkgname}-${pkgver}"
51
52
make "INSTALLPATH=${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}" install
53
54
install -d "$pkgdir/usr/share/glib-2.0" \
55
&& mv "$pkgdir/usr/share/gnome-shell/extensions/$_uuid/schemas" "$_"
56
rm -f "$pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled"
57
58
install -d "${pkgdir}/usr/share/licenses/${pkgname}" \
59
&& mv "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}/LICENSE.rst" "$_"
60
61
local depends_constraints shell_ver_min shell_ver_max
62
read -r shell_ver_min shell_ver_max < <(
63
jq \
64
--raw-output \
65
'.["shell-version"] | map(tonumber) | "\(min) \(max)"' \
66
metadata.json
67
)
68
depends_constraints=(
69
"gnome-shell>=1:${shell_ver_min}"
70
"gnome-shell<1:$((shell_ver_max + 1))"
71
)
72
depends+=("${depends_constraints[@]}")
73
}
74
75
: "${arch[@]}"
76
: "${conflicts[@]}"
77
: "${depends[@]}"
78
: "${license[@]}"
79
: "${makedepends[@]}"
80
: "${pkgdesc}"
81
: "${pkgrel}"
82
: "${provides[@]}"
83
: "${sha256sums[@]}"
84
: "${source[@]}"
85
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-07 14:05:47 | Low | 1 |