rad-bin
LOW
maintainer Dominiquini
1 votes
scanned 2026-08-24 05:22:02.165497
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}
6
pkgname=${_appname}-bin
7
pkgdesc="Modern CLI scripts made easy."
8
9
pkgver=0.12.1
10
pkgrel=1
11
_gitversion=v${pkgver}
12
13
arch=('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}"
18
url=${_ghurl}
19
20
license=('Apache-2.0')
21
22
provides=("${_appname}"{,ls})
23
conflicts=("${pkgname%-bin}")
24
25
makedepends=('git')
26
27
options=('!strip')
28
29
_gitfolder="git"
30
31
source_x86_64=("${_appname}-${arch[0]}-${pkgver}.tgz::${_ghurl}/releases/download/${_gitversion}/${_appname}_${_barch[0]}.tar.gz")
32
source_aarch64=("${_appname}-${arch[1]}-${pkgver}.tgz::${_ghurl}/releases/download/${_gitversion}/${_appname}_${_barch[1]}.tar.gz")
33
sha256sums_x86_64=('044b9fa55cb773bd5d6a3a4634efdd9f2f4aef8d66bef72dac2913ad3b551684')
34
sha256sums_aarch64=('55d271aba82bf536e39ca5cbf1d5b8b507b51db418f796e6bdb4e6e6550b0d72')
35
36
37
prepare() {
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
45
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-24 05:22:02 | Low | 1 |