haur-git

LOW
maintainer NidoBr 1 votes scanned 2026-08-29 01:37:41.981247
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: NidoBr <nidobrcontato@gmail.com>
2
3pkgname=haur-git
4pkgver=r100.f4aad88
5pkgrel=1
6pkgdesc="A minimal, modular, and hook-based AUR helper written in Tcl"
7arch=('any')
8url="https://codeberg.org/NidoBr/haur"
9license=('GPL2')
10
11# Core dependencies required for haur to run
12depends=(
13 'tcl'
14 'tcllib'
15 'curl'
16 'git'
17 'pacman'
18)
19
20# Optional dependencies for advanced features
21optdepends=(
22 'devtools: for clean chroot building support'
23 'bash-completion: for CLI autocompletion'
24)
25
26makedepends=('git')
27provides=("${pkgname%-git}")
28conflicts=("${pkgname%-git}")
29source=("git+https://codeberg.org/NidoBr/haur.git")
30sha256sums=('SKIP')
31
32pkgver() {
33 cd "${pkgname%-git}"
34 if git describe --long --tags >/dev/null 2>&1; then
35 git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
36 else
37 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
38 fi
39}
40
41package() {
42 cd "${pkgname%-git}"
43
44 # Base directories
45 install -d "${pkgdir}/usr/lib/haur"
46 install -d "${pkgdir}/etc/haur"
47 install -d "${pkgdir}/usr/bin"
48
49 # Application core files
50 cp -a core "${pkgdir}/usr/lib/haur/"
51 install -Dm755 haur.tcl "${pkgdir}/usr/lib/haur/haur.tcl"
52
53 # Configuration and Hooks
54 cp -a hooks.d "${pkgdir}/etc/haur/"
55
56 # Executable symlink
57 ln -s /usr/lib/haur/haur.tcl "${pkgdir}/usr/bin/haur"
58
59 install -Dm644 haur.bash-completion "${pkgdir}/usr/share/bash-completion/completions/haur"
60 install -Dm644 README.md -t "${pkgdir}/usr/share/doc/haur/"
61 install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
62}
63

Scan history

Scanned at (UTC)SeverityRules
2026-08-29 01:37:41 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