dirule-bin
LOW
maintainer Dominiquini
1 votes
scanned 2026-10-23 05:36:55.005421
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=Slyverr
4
_gitname=dirule
5
_appname=${_gitname}
6
pkgname=${_appname}-bin
7
pkgdesc="Bulk-rename and sort files with reviewable rules. Previews before changes, undo support, and CI checks"
8
9
pkgver=0.5.0
10
pkgrel=1
11
_gitversion=v${pkgver}
12
13
arch=('x86_64' 'aarch64')
14
_barch=('x86_64-unknown-linux-gnu' 'aarch64-unknown-linux-gnu')
15
16
_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17
_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18
url=${_ghurl}
19
20
license=('MIT')
21
22
provides=("${_appname}")
23
conflicts=("${pkgname%-bin}")
24
25
options=('!strip')
26
27
source_x86_64=("${_appname}-${arch[0]}-${pkgver}.txz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${_barch[0]}.tar.xz")
28
source_aarch64=("${_appname}-${arch[1]}-${pkgver}.txz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${_barch[1]}.tar.xz")
29
sha256sums_x86_64=('17d33141451b899865eb52e76fd2fb9d1067ed07d661c2007d71e8cd96cc6043')
30
sha256sums_aarch64=('313791c9fa2307feb7d55dc4a6513fe22984fd2786f3e290f26548cbb3a14f22')
31
32
33
case ${CARCH} in
34
${arch[0]})
35
_CARCH=${_barch[0]}
36
;;
37
38
${arch[1]})
39
_CARCH=${_barch[1]}
40
;;
41
esac
42
43
build() {
44
cd "${srcdir}/${_appname}-${_CARCH}/" || exit
45
46
mkdir -p "./completions"
47
48
"./${_appname}" completions zsh > "./completions/${_appname}.zsh"
49
"./${_appname}" completions bash > "./completions/${_appname}.bash"
50
"./${_appname}" completions fish > "./completions/${_appname}.fish"
51
}
52
53
package() {
54
cd "${srcdir}/${_appname}-${_CARCH}/" || exit
55
56
install -Dm755 "${_appname}" "${pkgdir}/usr/bin/${_appname}"
57
58
install -Dm644 "completions/${_appname}.bash" "${pkgdir}/usr/share/bash-completion/completions/${_appname}"
59
install -Dm644 "completions/${_appname}.zsh" "${pkgdir}/usr/share/zsh/site-functions/_${_appname}"
60
install -Dm644 "completions/${_appname}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${_appname}.fish"
61
62
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
63
64
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
65
}
66
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-23 05:36:55 | Low | 1 |