git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/arch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/Makefile')
-rw-r--r--arch/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/Makefile b/arch/Makefile
new file mode 100644
index 0000000..0e463fe
--- /dev/null
+++ b/arch/Makefile
@@ -0,0 +1,23 @@
+all: makepkg
+
+makepkg: makepkg-x86_64 makepkg-arm64
+
+makepkg_x86_64:
+ CARCH="x86_64" /usr/bin/makepkg --sign
+
+makepkg_arm64:
+ CARCH="arm64" /usr/bin/makepkg --sign
+
+clean: clean-pkg clean-pkgdir clean-srcdir clean-src
+
+clean-pkg:
+ rm -vf goreleaser-chglog-bin-0.6.1-1-{x86_64,arm64}.pkg.tar.zst{,.sig}
+
+clean-pkgdir:
+ rm -vfr pkg/
+
+clean-src:
+ rm -vf chglog_Linux_{x86_64,arm64}.tar.gz
+
+clean-srcdir:
+ rm -vfr src/