lanweave-bin

LOW
maintainer Dominiquini 1 votes scanned 2026-10-28 01:49:03.400007
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: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3_gitauthor=etim66
4_gitname=lanweave
5_appname=${_gitname}
6pkgname=${_appname}-bin
7pkgdesc="Lightweight Local Peer-to-Peer File Transfer Protocol"
8
9pkgver=0.2.2
10pkgrel=1
11_gitversion=v${pkgver}
12
13arch=('x86_64' 'aarch64')
14_barch=('x86_64-unknown-linux-musl' 'aarch64-unknown-linux-musl')
15
16_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18url=${_ghurl}
19
20license=('Apache-2.0')
21
22provides=("${_appname}")
23conflicts=("${pkgname%-bin}")
24
25options=('!strip')
26
27source=("LICENSE-${pkgver}::${_ghurlraw}/LICENCE")
28source_x86_64=("${_appname}-${arch[0]}-${pkgver}.txz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${_barch[0]}.tar.xz")
29source_aarch64=("${_appname}-${arch[1]}-${pkgver}.txz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${_barch[1]}.tar.xz")
30sha256sums=('cd272a04087a27b1ddcbd17d5d480682f780569c21edcff98707847c714ba08c')
31sha256sums_x86_64=('2e54a651c7654792e30c2b09bf22fadd2c1ae5d214d0d587acffa1abb048848e')
32sha256sums_aarch64=('d510a1ee7e94efc50073422de8f114d75deb6dbd0e7fb7e86f473cfcd52bb254')
33
34
35case ${CARCH} in
36 ${arch[0]})
37 _CARCH=${_barch[0]}
38 ;;
39
40 ${arch[1]})
41 _CARCH=${_barch[1]}
42 ;;
43esac
44
45
46prepare() {
47 cd "${srcdir}/" || exit
48
49 rm -rf git && git clone -n --depth=1 --filter=tree:0 "${_ghurl}" git
50
51 cd git && git sparse-checkout set --no-cone /docs && git checkout
52
53 cp -rfa docs "${srcdir}/" && cd .. && rm -rf git
54}
55
56package() {
57 cd "${srcdir}/${_appname}-${_CARCH}/" || exit
58
59 install -Dm755 "${_appname}" "${pkgdir}/usr/bin/${_appname}"
60
61 install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
62
63 for doc in ../docs/*.md; do
64 install -Dm644 "${doc}" "${pkgdir}/usr/share/doc/${pkgname}/$(basename ${doc})"
65 done
66
67 install -Dm644 "../LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
68}
69

Scan history

Scanned at (UTC)SeverityRules
2026-10-28 01:49:03 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