2015-12-15 06:12:17 +01:00
|
|
|
#
|
|
|
|
# AUR aliases
|
|
|
|
#
|
|
|
|
|
|
|
|
# download and build AUR package
|
|
|
|
aurb() {
|
2016-10-28 08:01:37 +02:00
|
|
|
git clone https://aur.archlinux.org/${1}.git && cd ${1} && makepkg --clean --install --syncdeps
|
2015-12-15 06:12:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# only download aur package; do not build
|
|
|
|
aurd() {
|
2015-12-19 15:48:29 +01:00
|
|
|
git clone https://aur.archlinux.org/${1}.git
|
2015-12-15 06:12:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# remove old package, rebuild, and install.
|
|
|
|
#NOTE: this is will remove any unstashed/uncommitted changes.
|
|
|
|
# due to how makepkg will update the PKGBUILD, a git pull alone will not suffice.
|
|
|
|
auru() {
|
2016-10-28 08:01:37 +02:00
|
|
|
git reset HEAD --hard && git pull && makepkg --clean --force --install --syncdeps --cleanbuild
|
2015-12-15 06:12:17 +01:00
|
|
|
}
|