PKGBUILDs: Add Makefile

This Makefile automates the process of creating and installing the RPM
package. It hasn't been tested yet, so I may need to fix it later.
This commit is contained in:
Donovan Glover 2018-11-12 22:41:56 -05:00
parent d5844458b3
commit fa82cc7a1d
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

18
.PKGBUILDs/Makefile Normal file
View File

@ -0,0 +1,18 @@
muya.rpm: muya.spec
@sudo dnf install -y fedpkg
@rm -rfv noarch
@fedpkg --release f29 local
@mv noarch/*.rpm muya.rpm
@rmdir noarch
.PHONY: install-muya
install-muya:
@sudo dnf install muya.rpm
.PHONY: clean
clean:
@rm -fv **/*.pkg.tar.xz
@rm -fv **/*.xpi
@rm -fv **/*.tar.gz
@rm -fv **/*.tar.bz2
@rm -fv **/*.vim