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

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