luch-git

LOW
maintainer a_i 0 votes scanned 2026-08-27 15:32:51.856305
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: Alex Indigo <ai@aegis.one>
2
3pkgname=luch-git
4_projname=luch
5_release_ver=0.1.0.r0
6pkgver=0.1.0.r0.g54e4257
7pkgrel=1
8pkgdesc="Link router for Linux/Wayland — pick which browser opens a URL — git master"
9arch=('x86_64' 'aarch64')
10url="https://github.com/alexindigo/luch"
11license=('GPL-3.0-or-later')
12depends=('qt6-base' 'qt6-declarative' 'layer-shell-qt' 'qt6-xdgiconqml'
13 'hicolor-icon-theme')
14makedepends=('cmake' 'git')
15optdepends=('wl-clipboard: Ctrl+C copy survives the popup exiting')
16provides=('luch')
17conflicts=('luch')
18source=("${pkgname}::git+${url}.git")
19sha256sums=('SKIP')
20
21pkgver() {
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
35build() {
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
43package() {
44 DESTDIR="${pkgdir}" cmake --install build
45}
46

Scan history

Scanned at (UTC)SeverityRules
2026-08-27 15:32:51 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