fedora: Update Makefile

Instead of installing a pre-built RPM, we can build it ourselves on the
spot instead. This is less maintenance for me and makes it easier to
verify the package being installed.
This commit is contained in:
Donovan Glover 2018-11-13 13:30:00 -05:00
parent a3dda2b8b2
commit 8b9ed3f623
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 12 additions and 22 deletions

18
.PKGBUILDs/Makefile vendored
View File

@ -1,18 +0,0 @@
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

View File

@ -5,7 +5,8 @@ makeh=$(MAKE) -f $(THIS_MAKEFILE)
.PHONY: all
all:
@${makeh} packages
@${makeh} muya.rpm
@${makeh} install
@${makeh} wal
@${makeh} crystal
@${makeh} rust
@ -16,9 +17,16 @@ all:
rice:
@${install} gnome-tweaks pop-gtk-theme pop-icon-theme breeze-cursor-theme
.PHONY: packages
packages:
@${install} https://github.com/GloverDonovan/dotfiles/archive/0.1.0.rpm
muya.rpm: muya.spec
@rm -rfv noarch
@fedpkg --release f29 local
@mv noarch/*.rpm muya.rpm
@rmdir noarch
@rm -fv *.src.rpm
.PHONY: install
install:
@${install} muya.rpm
.PHONY: dotfiles
dotfiles: