dirule-bin

LOW
maintainer Dominiquini 1 votes scanned 2026-10-23 05:36:55.005421
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=Slyverr
4_gitname=dirule
5_appname=${_gitname}
6pkgname=${_appname}-bin
7pkgdesc="Bulk-rename and sort files with reviewable rules. Previews before changes, undo support, and CI checks"
8
9pkgver=0.5.0
10pkgrel=1
11_gitversion=v${pkgver}
12
13arch=('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}"
18url=${_ghurl}
19
20license=('MIT')
21
22provides=("${_appname}")
23conflicts=("${pkgname%-bin}")
24
25options=('!strip')
26
27source_x86_64=("${_appname}-${arch[0]}-${pkgver}.txz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${_barch[0]}.tar.xz")
28source_aarch64=("${_appname}-${arch[1]}-${pkgver}.txz::${_ghurl}/releases/download/${_gitversion}/${_appname}-${_barch[1]}.tar.xz")
29sha256sums_x86_64=('17d33141451b899865eb52e76fd2fb9d1067ed07d661c2007d71e8cd96cc6043')
30sha256sums_aarch64=('313791c9fa2307feb7d55dc4a6513fe22984fd2786f3e290f26548cbb3a14f22')
31
32
33case ${CARCH} in
34 ${arch[0]})
35 _CARCH=${_barch[0]}
36 ;;
37
38 ${arch[1]})
39 _CARCH=${_barch[1]}
40 ;;
41esac
42
43build() {
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
53package() {
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)SeverityRules
2026-10-23 05:36:55 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