mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-03-30 09:26:13 +02:00
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:
parent
a3dda2b8b2
commit
8b9ed3f623
18
.PKGBUILDs/Makefile
vendored
18
.PKGBUILDs/Makefile
vendored
@ -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
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user