summarylogtreecommitdiffstats
path: root/Makefile
blob: bdfd498f482e8e081b0019ff4ee0f75a43158c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.PHONY: all build push clean

all: .SRCINFO
	git add PKGBUILD .SRCINFO
	
.SRCINFO: PKGBUILD
	namcap PKGBUILD
	makepkg --printsrcinfo > .SRCINFO

build:
	makepkg -f
	namcap *.pkg.tar.zst

push: build .SRCINFO
	git add PKGBUILD .SRCINFO
	git commit
	git push

clean:
	rm -f *.pkg.tar.zst
	rm -fr pkg src