rad-bin

LOW
maintainer Dominiquini 1 votes scanned 2026-08-24 05:22:02.165497
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=amterp
4_gitname=rad
5_appname=${_gitname}
6pkgname=${_appname}-bin
7pkgdesc="Modern CLI scripts made easy."
8
9pkgver=0.12.1
10pkgrel=1
11_gitversion=v${pkgver}
12
13arch=('x86_64' 'aarch64')
14_barch=('linux_amd64' 'linux_arm64')
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}"{,ls})
23conflicts=("${pkgname%-bin}")
24
25makedepends=('git')
26
27options=('!strip')
28
29_gitfolder="git"
30
31source_x86_64=("${_appname}-${arch[0]}-${pkgver}.tgz::${_ghurl}/releases/download/${_gitversion}/${_appname}_${_barch[0]}.tar.gz")
32source_aarch64=("${_appname}-${arch[1]}-${pkgver}.tgz::${_ghurl}/releases/download/${_gitversion}/${_appname}_${_barch[1]}.tar.gz")
33sha256sums_x86_64=('044b9fa55cb773bd5d6a3a4634efdd9f2f4aef8d66bef72dac2913ad3b551684')
34sha256sums_aarch64=('55d271aba82bf536e39ca5cbf1d5b8b507b51db418f796e6bdb4e6e6550b0d72')
35
36
37prepare() {
38 cd "${srcdir}/" || exit
39
40 rm -rf git && git clone -n --depth=1 --filter=tree:0 --branch "${_gitversion}" "${_ghurl}" ${_gitfolder} && cd git
41
42 git sparse-checkout set --no-cone /docs && git checkout
43}
44
45package() {
46 cd "${srcdir}/" || exit
47
48 install -Dm755 "${_appname}" "${pkgdir}/usr/bin/${_appname}"
49 install -Dm755 "${_appname}ls" "${pkgdir}/usr/bin/${_appname}ls"
50
51 install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
52 cp -rf "${_gitfolder}/docs" "${pkgdir}/usr/share/doc/${pkgname}/"
53
54 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
55}
56

Scan history

Scanned at (UTC)SeverityRules
2026-08-24 05:22:02 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