diff options
author | Jorge Javier Araya Navarro | 2020-07-02 11:24:43 -0600 |
---|---|---|
committer | Jorge Javier Araya Navarro | 2020-07-02 11:27:11 -0600 |
commit | 64fe549b77cf14b945cd9227f334d534ce64d0d4 (patch) | |
tree | 0300f11718199c32c52b0fdef7bfef75ffc71e22 /Makefile | |
parent | ef001b77d1dca9e8d46b43e3f61847f3c6212447 (diff) | |
download | aur-64fe549b77cf14b945cd9227f334d534ce64d0d4.tar.gz |
chg: Add additional Makefile target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -5,3 +5,12 @@ get-checksum: .PHONY: update update: get-checksum makepkg --printsrcinfo > .SRCINFO + +# you may want to do a setup previous to use this target +# follow https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot#Classic_way +.PHONY: build +build: + @echo "updating ${CHROOT}/root chroot environment..." + @arch-nspawn $CHROOT/root pacman -Syu + @echo "building package in isolation" + makechrootpkg -c -r $CHROOT |