omarchy-share-picker-git
LOW
maintainer falser
0 votes
scanned 2026-09-03 03:52:21.844053
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: falser <zhangjf@tongtech.com>
2
pkgname=omarchy-share-picker-git
3
_pkgname=omarchy-share-picker
4
pkgver=0.1.0.r6.g75155e9
5
pkgrel=1
6
pkgdesc="Share picker for xdg-desktop-portal-hyprland (screen, window, region)"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/falser101/omarchy-share-picker"
9
license=('MIT')
10
depends=(
11
'gcc-libs'
12
'glibc'
13
'grim'
14
'hyprland'
15
'slurp'
16
'xdg-desktop-portal-hyprland'
17
)
18
makedepends=(
19
'cargo'
20
'git'
21
'pkgconf'
22
'wayland'
23
)
24
provides=('omarchy-share-picker')
25
conflicts=('omarchy-share-picker')
26
source=("git+${url}.git")
27
sha256sums=('SKIP')
28
install="${pkgname}.install"
29
30
pkgver() {
31
cd "${_pkgname}"
32
local desc
33
desc=$(git describe --long --tags --abbrev=7 2>/dev/null || true)
34
if [[ -n $desc ]]; then
35
printf '%s\n' "${desc#v}" | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
36
else
37
printf '0.1.0.r%s.g%s\n' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
38
fi
39
}
40
41
prepare() {
42
cd "${_pkgname}"
43
export RUSTUP_TOOLCHAIN=stable
44
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
45
}
46
47
build() {
48
cd "${_pkgname}"
49
export RUSTUP_TOOLCHAIN=stable
50
export CARGO_TARGET_DIR=target
51
cargo build --frozen --release --bins
52
}
53
54
package() {
55
cd "${_pkgname}"
56
install -Dm755 target/release/omarchy-share-picker \
57
"${pkgdir}/usr/bin/omarchy-share-picker"
58
install -Dm644 LICENSE \
59
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
60
}
61
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-03 03:52:21 | Low | 1 |