summarylogtreecommitdiffstats
path: root/Makefile
blob: 996afc7097cef57ea162ea587e2c7f457883b96c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# TODO: build target that
#  - checks for latest version
#  - puts that version number into PKGBUILD
#  - downloads corresponding archive
#  - calculates b2sum
#  - puts that b2sum into PKGBUILD
#  - generates SRCINFO
#  - builds package

package:
	makepkg -f

.SRCINFO: PKGBUILD
	makepkg --printsrcinfo >$@

sanity-check:
	namcap PKGBUILD
	namcap sipgate-app-clinq-*.pkg.tar.zst

clean:
	rm -rf src pkg sipgate-app-clinq*.tar.zst

dist-clean: clean
	rm -f sipgate*CLINQ*.deb

.PHONY: package sanity-check clean dist-clean