From f622fb056c44fb81019ef261efc215cabb277a5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sat, 21 Oct 2023 15:21:20 +0200 Subject: [PATCH] add Makefile --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f2765e2 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +PKGNAME=deploy-arch-repo + +install: + cp deploy-arch-repo $(DESTDIR)/usr/bin + + install -Dm644 "LICENSE" $(DESTDIR)/usr/share/licenses/${PKGNAME}/LICENSE + +uninstall: + rm $(DESTDIR)/usr/bin/deploy-arch-repo + rm -rf $(DESTDIR)/usr/share//licenses/${PKGNAME}