summarylogtreecommitdiffstats
path: root/Makefile
blob: afb7fdfc6c830512e6b1fc83ee1ad629cf5588ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
VERSION = 0.1.0
RELEASE = 1

release: PKGBUILD .SRCINFO
	updpkgsums
	rm v$(VERSION).tar.gz
	git add .SRCINFO Makefile PKGBUILD
	git commit -m "Release v$(VERSION)"
	#git push

PKGBUILD:
	sed -i 's/^pkgver=.*/pkgver=$(VERSION)/g' PKGBUILD
	sed -i 's/^pkgrel=.*/pkgrel=$(RELEASE)/g' PKGBUILD

.SRCINFO:
	makepkg --printsrcinfo > .SRCINFO

.PHONY: release