summarylogtreecommitdiffstats
path: root/Makefile
blob: 48dbe084bf8febfa1759a8a2c6acad546b9c090d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
nam = $(shell sed -n 's/^_pkgname=//p' PKGBUILD)
src = PKGBUILD
inf = .SRCINFO

all: sum $(inf) check

$(inf): $(src)
	makepkg --printsrcinfo >$@

check: $(src)
	namcap $^

sum: $(src)
	updpkgsums

clean:
	rm -rf $(inf) $(nam)* *.tar.xz *.tar.gz *.tar *.tgz pkg/ src/ *.part

package:
	makepkg -C

# vim: se ts=4: