1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
all: PKGBUILD .SRCINFO PKGBUILD: sed -i '/depends=/,/)/d' $@ ./build_depends.py >> $@ updpkgsums sed -i '/^$$/d' $@ # updpkgsums adds a newline .SRCINFO: PKGBUILD makepkg --printsrcinfo > .SRCINFO check: PKGBUILD makepkg -fc clean: $(RM) *.pkg.* .PHONY: all check clean PKGBUILD