Compare commits

...

2 Commits

Author SHA1 Message Date
14fbf3c41e added PKGBUILD for AUR 2024-09-16 19:03:04 +02:00
ba07f6275d updated README 2024-09-16 14:22:24 +02:00
2 changed files with 40 additions and 4 deletions

28
PKGBUILD Normal file
View File

@ -0,0 +1,28 @@
# Maintainer: Bryan Joshua Pedini <bryan [at] pedini [dot] dev>
_pkgname="pman"
pkgname="$_pkgname-helper"
pkgver="1.2.0"
pkgrel="1"
pkgdesc="A `pacman` helper script, because you forget all the stupid flags"
url="https://git.bjphoster.com/source/$_pkgname"
arch=("any")
license=("MIT")
depends=("bash" "pacman")
conflicts=("pman") # Another package called `pman` currently exists in the AUR
source=(
"LICENSE"
"pman.sh"
)
sha256sums=(
"3964e8cf1894ecfea6ca57cf350e7a538229cd205ac35293ea8bf3fb19c0b86f"
"6bb6aab1dd31ae0a326a24afc34e62da13d482843fad5872562135007b43f1a5"
)
md5sums=(
"72db3ecfa718db796cd818f883cbdc68"
"369ea3fa3fb44dcfe035a297f64af9e5"
)
package() {
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm755 pman.sh "${pkgdir}/usr/bin/${_pkgname}"
}

View File

@ -1,15 +1,23 @@
# pman.sh # pman.sh
A `pacman` helper script, because you forget the stupid flags A `pacman` helper script, because you forget all the stupid flags
## Usage / Features: ## Usage / Features:
- aur/yay
- search - search
- info
- localinfo
- provides
- providefiles
- installed
- install
- update - update
- upgradable - upgradable
- upgrade - upgrade
- install - remove
- provides - purge
- clean
- config - config
`config` is the only flag that is not appended to `pacman`, instead it resolves to `nano /etc/pacman.conf`. `config` is the only flag that is not appended to `pacman` (or `yay`), instead it resolves to `nano /etc/pacman.conf`.
`sudo` gets prepended automatically if the command requires it and if installed - no, there is no check if your user is in the `sudo` group, if you download this script you should already be, or know you can only use part of this utility `sudo` gets prepended automatically if the command requires it and if installed - no, there is no check if your user is in the `sudo` group, if you download this script you should already be, or know you can only use part of this utility