summarylogtreecommitdiffstats
path: root/Makefile
blob: 8da8b589145bdf6d35c515d2cab7aa3878d309c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.DEFAULT_GOAL := .SRCINFO
.PHONY: all install check clean

.SRCINFO: PKGBUILD
	makepkg --printsrcinfo > .SRCINFO

all: build install

build: PKGBUILD .SRCINFO
	makepkg -f
	touch build

install: build
	makepkg -i

check: build
	namcap *.tar.xz

clean:
	rm -rf build pkg src *.tar.* *.part