mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-16 20:00:50 +01:00
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:
parent
d5844458b3
commit
fa82cc7a1d
18
.PKGBUILDs/Makefile
Normal file
18
.PKGBUILDs/Makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user