1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
nam = $(shell sed -n 's/^_pkgname=//p' PKGBUILD) src = PKGBUILD inf = .SRCINFO all: sum $(inf) check $(inf): $(src) mksrcinfo check: $(src) namcap $^ sum: $(src) updpkgsums clean: rm -rf $(inf) $(nam)-* *.tar.xz *.tar.gz pkg/ src/ *.part # vim: se ts=4: