load_sync_dbs() always tried zstd decompression, but pacman stores
.db files in varying formats (gzip, zstd, or decompressed). Now
detects format by magic bytes:
- \x28\xb5\x2f\xfd → zstd decompression
- \x1f\x8b → gzip decompression
- anything else → raw tar (already decompressed by hal sync)
Also bumped pkgrel 2→3 to trigger rebuild.
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.