luch-git
LOW
maintainer a_i
0 votes
scanned 2026-08-27 15:32:51.856305
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: Alex Indigo <ai@aegis.one>
2
3
pkgname=luch-git
4
_projname=luch
5
_release_ver=0.1.0.r0
6
pkgver=0.1.0.r0.g54e4257
7
pkgrel=1
8
pkgdesc="Link router for Linux/Wayland — pick which browser opens a URL — git master"
9
arch=('x86_64' 'aarch64')
10
url="https://github.com/alexindigo/luch"
11
license=('GPL-3.0-or-later')
12
depends=('qt6-base' 'qt6-declarative' 'layer-shell-qt' 'qt6-xdgiconqml'
13
'hicolor-icon-theme')
14
makedepends=('cmake' 'git')
15
optdepends=('wl-clipboard: Ctrl+C copy survives the popup exiting')
16
provides=('luch')
17
conflicts=('luch')
18
source=("${pkgname}::git+${url}.git")
19
sha256sums=('SKIP')
20
21
pkgver() {
22
cd "${srcdir}/${pkgname}"
23
# NOTE: capture describe output explicitly — `git describe ... | sed ...`
24
# masks describe's exit code (sed exits 0 on empty input), so a pipeline
25
# `|| echo fallback` never fires on tagless repos.
26
local out
27
out=$(git describe --long --tags 2>/dev/null) || out=""
28
if [ -n "$out" ]; then
29
printf "%s" "$out" | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
30
else
31
echo "${_release_ver}.g$(git rev-parse --short HEAD)"
32
fi
33
}
34
35
build() {
36
cmake -B build -S "${srcdir}/${pkgname}" \
37
-DCMAKE_BUILD_TYPE=Release \
38
-DCMAKE_SKIP_RPATH=ON \
39
-DCMAKE_INSTALL_PREFIX=/usr
40
cmake --build build
41
}
42
43
package() {
44
DESTDIR="${pkgdir}" cmake --install build
45
}
46
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-27 15:32:51 | Low | 1 |