diff options
author | xengineering <mail2xengineering@protonmail.com> | 2021-07-09 08:03:24 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2021-07-09 08:03:24 +0200 |
commit | 284df2a0655d85d79f83ee6838e2a0205dd5b034 (patch) | |
tree | 5962db2017167ac9083d9c5e825e6593dffb335d /archlinux/Makefile | |
parent | be4b9c496ebab482a5a0a678f51cdaed76a5207b (diff) | |
download | birdscan-284df2a0655d85d79f83ee6838e2a0205dd5b034.tar birdscan-284df2a0655d85d79f83ee6838e2a0205dd5b034.tar.zst birdscan-284df2a0655d85d79f83ee6838e2a0205dd5b034.zip |
Embed Arch Linux PKGBUILD in Source Repository
Diffstat (limited to 'archlinux/Makefile')
-rw-r--r-- | archlinux/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/archlinux/Makefile b/archlinux/Makefile new file mode 100644 index 0000000..b8f8862 --- /dev/null +++ b/archlinux/Makefile @@ -0,0 +1,20 @@ +# vim: shiftwidth=4 tabstop=4 noexpandtab + +.PHONY: all clean install uninstall + +SOFTWARE_NAME="birdscan" + +all: + tar --exclude-vcs --exclude $(SOFTWARE_NAME)/archlinux -czvf $(SOFTWARE_NAME).tar.gz ../../$(SOFTWARE_NAME) + makepkg -cf + +clean: + rm -rf $(SOFTWARE_NAME).tar.gz + rm -rf $(SOFTWARE_NAME)*.pkg.tar.* + +install: all + sudo pacman -U $(SOFTWARE_NAME)*.pkg.tar.* + +uninstall: + sudo pacman -R $(SOFTWARE_NAME) + |