Useful CLI tools (bash) for Arch Linux administration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
338 B

6 years ago
  1. #!/bin/bash
  2. #############################
  3. # Build local package in PKGBUILD directory on Arch Linux
  4. #
  5. if [ ! -e ./PKGBUILD ]; then #We check whether PKGBUILD file exists. If no, then...
  6. echo -e "No PKGBUILD file found!\n"
  7. return 1
  8. else
  9. rm -Rf ./{src,pkg} #This doesn't mean they really exist
  10. updpkgsums
  11. makepkg -f
  12. fi