haur-git
LOW
maintainer NidoBr
1 votes
scanned 2026-08-29 01:37:41.981247
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
3
pkgname=haur-git
4
pkgver=r100.f4aad88
5
pkgrel=1
6
pkgdesc="A minimal, modular, and hook-based AUR helper written in Tcl"
7
arch=('any')
8
url="https://codeberg.org/NidoBr/haur"
9
license=('GPL2')
10
11
# Core dependencies required for haur to run
12
depends=(
13
'tcl'
14
'tcllib'
15
'curl'
16
'git'
17
'pacman'
18
)
19
20
# Optional dependencies for advanced features
21
optdepends=(
22
'devtools: for clean chroot building support'
23
'bash-completion: for CLI autocompletion'
24
)
25
26
makedepends=('git')
27
provides=("${pkgname%-git}")
28
conflicts=("${pkgname%-git}")
29
source=("git+https://codeberg.org/NidoBr/haur.git")
30
sha256sums=('SKIP')
31
32
pkgver() {
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
41
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-29 01:37:41 | Low | 1 |