feat: add hal package manager — HAL 9000 themed dual-mode (wrapper + native)
hal is Antergos NeXT package manager with two modes: hal install <pkg> — wrapper mode (delegates to pacman) hal --self install <pkg> — native mode (standalone, no pacman dep) Native mode implements: - Sync DB download and parsing (pacman-compatible) - Recursive dependency resolution - .pkg.tar.zst extraction via bsdtar - .INSTALL scriptlet execution (post_install, post_remove) - Local DB management (pacman-compatible /var/lib/pacman/local/) - Package info, file listing, search - Cache management Full HAL 9000 personality with quotes for errors, warnings, success. I am putting myself to the fullest possible use.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Maintainer: Celestia Ludenberg <ash8820@proton.me>
|
||||
|
||||
pkgname=hal
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="HAL 9000 — Antergos NeXT Package Manager. Dual-mode: wrapper (pacman) or native (standalone)."
|
||||
arch=('any')
|
||||
url="https://github.com/Antergos-NeXT"
|
||||
license=('GPL3')
|
||||
depends=('pacman' 'python' 'python-zstandard' 'libarchive' 'zstd')
|
||||
optdepends=('python-requests: faster downloads in native mode')
|
||||
source=("hal")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
package() {
|
||||
install -dm755 "${pkgdir}/usr/bin"
|
||||
install -m755 "hal" "${pkgdir}/usr/bin/hal"
|
||||
}
|
||||
Reference in New Issue
Block a user