summarylogtreecommitdiffstats
path: root/Makefile
blob: 3a8706e0c5d2ed628871ee2d201e5006534f9a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.PHONY: get-checksum
get-checksum:
	updpkgsums

.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