summaryrefslogtreecommitdiff
path: root/archlinux/Makefile
blob: b8f8862015b84ab9b8aefed10e1e727bf18f5b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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)