omarchy-share-picker-git

LOW
maintainer falser 0 votes scanned 2026-09-03 03:52:21.844053
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: falser <zhangjf@tongtech.com>
2pkgname=omarchy-share-picker-git
3_pkgname=omarchy-share-picker
4pkgver=0.1.0.r6.g75155e9
5pkgrel=1
6pkgdesc="Share picker for xdg-desktop-portal-hyprland (screen, window, region)"
7arch=('x86_64' 'aarch64')
8url="https://github.com/falser101/omarchy-share-picker"
9license=('MIT')
10depends=(
11 'gcc-libs'
12 'glibc'
13 'grim'
14 'hyprland'
15 'slurp'
16 'xdg-desktop-portal-hyprland'
17)
18makedepends=(
19 'cargo'
20 'git'
21 'pkgconf'
22 'wayland'
23)
24provides=('omarchy-share-picker')
25conflicts=('omarchy-share-picker')
26source=("git+${url}.git")
27sha256sums=('SKIP')
28install="${pkgname}.install"
29
30pkgver() {
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
41prepare() {
42 cd "${_pkgname}"
43 export RUSTUP_TOOLCHAIN=stable
44 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
45}
46
47build() {
48 cd "${_pkgname}"
49 export RUSTUP_TOOLCHAIN=stable
50 export CARGO_TARGET_DIR=target
51 cargo build --frozen --release --bins
52}
53
54package() {
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)SeverityRules
2026-09-03 03:52:21 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