blob: 3e474a7b5a53a0f3efb557b3d93ead576e24a0f2 (
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
28
29
30
31
32
33
34
|
.PHONY: all clean verify force-build update-checksums
PACKAGE = akku-*-any.pkg*
# default
all: $(PACKAGE)
@make update-checksums
@make verify
@make .SRCINFO
clean:
-rm *.tar.*
-rm -R src/
-rm -Rf pkg/
# downloads files, generates checksums and updates them on PKGBUILD
update-checksums:
makepkg --verifysource --skipchecksums -f --nobuild --noextract
updpkgsums
# NOTE: excludes are only used to prevent namcap false positives over Guile object (.go) files
verify: PKGBUILD $(PACKAGE)
@namcap PKGBUILD
@namcap --exclude=anyelf,elfgnurelro,elfunstripped,elfnopie $(PACKAGE)
# forces a full makepkg build
force-build:
@LC_ALL=C makepkg -f --clean
.SRCINFO: PKGBUILD
@makepkg --printsrcinfo > .SRCINFO
$(PACKAGE): PKGBUILD
@make force-build
|