summarylogtreecommitdiffstats
path: root/Makefile
blob: 1f5a549cf2781a22a8388c363987d8cdb6ee6844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PKGVER := $(shell grep -Po 'pkgver=\K.*' PKGBUILD)
PKGREL := $(shell grep -Po 'pkgrel=\K.*' PKGBUILD)


default: clean build

clean:
	rm -rf *.tar.xz

build:
	makepkg
	makepkg --printsrcinfo > .SRCINFO

release: commit push

commit:
	git add .
	git commit -m "v$(PKGVER) rel$(PKGREL)"

push:
	git push origin master