add(any/aliases-pm): Init
This commit is contained in:
parent
baea82f5f2
commit
8373c1d544
5
any/aliases-pm/.gitignore
vendored
Normal file
5
any/aliases-pm/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
*
|
||||||
|
!*.sh
|
||||||
|
!.gitignore
|
||||||
|
!Makefile
|
||||||
|
!PKGBUILD
|
5
any/aliases-pm/Makefile
Normal file
5
any/aliases-pm/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
build:
|
||||||
|
makepkg --sign --force
|
||||||
|
|
||||||
|
install:
|
||||||
|
makepkg --sign --force --install
|
15
any/aliases-pm/PKGBUILD
Normal file
15
any/aliases-pm/PKGBUILD
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
|
||||||
|
|
||||||
|
pkgname=aliases-pm
|
||||||
|
pkgver=0.1.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Markus Pesch's personal pacman aliases"
|
||||||
|
license=('GPL')
|
||||||
|
arch=('any')
|
||||||
|
source=("aliases.sh")
|
||||||
|
sha256sums=('c8ac8b6efda6a39d3f098940b9b01bc4c03ad718d0a0ca48a4975070e0364015')
|
||||||
|
depends=("sudo")
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -D --mode=0755 --target-directory=${pkgdir}/etc/profile.d ${srcdir}/aliases.sh
|
||||||
|
}
|
11
any/aliases-pm/aliases.sh
Normal file
11
any/aliases-pm/aliases.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Aliases for pacman
|
||||||
|
alias pfl='sudo pacman --files --list' # Pacman: Files-List (List files of a package)
|
||||||
|
alias pf='sudo pacman --files' # Pacman: List Packages which provides specific file
|
||||||
|
alias pqaip='sudo pacman --query --explicit' # Pacman: Query-All-Installed-Packages
|
||||||
|
alias pqaop='sudo pacman --query --deps --unrequired' # Pacman: Query-All-Orphaned-Packages
|
||||||
|
alias pqiap='sudo pacman --query --info' # Pacman: Query-Information-About-Package
|
||||||
|
alias praop='sudo pacman --remove --nosave --recursive \
|
||||||
|
$(sudo pacman --query --unrequired --deps --quiet) ' # Pacman: Remove-All-Orphaned-Packages
|
||||||
|
alias prsp='sudo pacman --remove --recursive --nosave' # Pacman: Remove-Single-Package
|
||||||
|
alias puap='sudo pacman --sync --refresh --sysupgrade' # Pacman: Update-All-Packages
|
||||||
|
alias puld='sudo pacman --sync --refresh' # Pacman: Update-Local-Database
|
Loading…
Reference in New Issue
Block a user