add Makefile

This commit is contained in:
Maximilian Keßler 2023-10-21 15:21:20 +02:00
parent 6561f6e46a
commit f622fb056c
Signed by: max
GPG Key ID: BCC5A619923C0BA5

10
Makefile Normal file
View File

@ -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}