mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-04-24 11:19:03 +02:00
fedora: Update Makefile
This hasn't been tested yet, but it *should* work. Most of the software I install is handled by the RPM, with the exception of software not present in the official repositories. The install scripts for these software are stored locally in this repository since I want an easy way to keep track of the diffs. Of course, you should run the `make update` command yourself to get the latest updates and visually compare any differences from upstream.
This commit is contained in:
parent
5627f07961
commit
534b38ebbf
@ -1,21 +1,53 @@
|
|||||||
|
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
|
||||||
install=sudo dnf install --assumeyes
|
install=sudo dnf install --assumeyes
|
||||||
make=$(MAKE) -C ..
|
make=$(MAKE) -C ..
|
||||||
|
makeh=$(MAKE) -f $(THIS_MAKEFILE)
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all:
|
||||||
|
@${makeh} packages
|
||||||
|
@${makeh} wal
|
||||||
|
@${makeh} crystal
|
||||||
|
@${makeh} rust
|
||||||
|
@${makeh} diff-so-fancy
|
||||||
|
@${makeh} dotfiles
|
||||||
|
|
||||||
# Other GTK themes: adapta-gtk-theme evopop-gtk-theme
|
|
||||||
# Other icon themes: numix-icon-theme-circle paper-icon-theme
|
|
||||||
# NOTE: You should use Pop in Fedora 29+ since Adapta and EvoPop
|
|
||||||
# have padding issues that presumably have not been updated
|
|
||||||
# yet for the latest version of GNOME.
|
|
||||||
.PHONY: rice
|
.PHONY: rice
|
||||||
rice:
|
rice:
|
||||||
@${install} gnome-tweaks pop-gtk-theme pop-icon-theme \
|
@${install} gnome-tweaks pop-gtk-theme pop-icon-theme breeze-cursor-theme
|
||||||
breeze-cursor-theme
|
|
||||||
|
|
||||||
.PHONY: dev
|
.PHONY: packages
|
||||||
dev:
|
packages:
|
||||||
@${install} tmux vim neovim fish exa ripgrep
|
@${install} https://github.com/GloverDonovan/dotfiles/archive/0.1.0.rpm
|
||||||
|
|
||||||
.PHONY: dotfiles
|
.PHONY: dotfiles
|
||||||
dotfiles:
|
dotfiles:
|
||||||
@${make} package=tmux
|
@${make} package=tmux
|
||||||
@${make} package=fish
|
@${make} package=fish
|
||||||
|
|
||||||
|
.PHONY: wal
|
||||||
|
wal:
|
||||||
|
@sudo pip3 install pywal
|
||||||
|
|
||||||
|
.PHONY: crystal
|
||||||
|
crystal:
|
||||||
|
@sudo ./vendor/crystal-setup.sh
|
||||||
|
@${install} crystal
|
||||||
|
|
||||||
|
.PHONY: rust
|
||||||
|
rust:
|
||||||
|
@./vendor/rustup-init.sh
|
||||||
|
|
||||||
|
.PHONY: diff-so-fancy
|
||||||
|
diff-so-fancy:
|
||||||
|
@sudo install -Dm 755 ./vendor/diff-so-fancy /usr/bin/diff-so-fancy
|
||||||
|
|
||||||
|
.PHONY: update
|
||||||
|
update:
|
||||||
|
@mkdir -pv vendor
|
||||||
|
@curl -L https://raw.githubusercontent.com/so-fancy/diff-so-fancy/master/third_party/build_fatpack/diff-so-fancy -o vendor/diff-so-fancy
|
||||||
|
@curl -L https://sh.rustup.rs -o vendor/rustup-init.sh
|
||||||
|
@curl -L https://dist.crystal-lang.org/rpm/setup.sh -o vendor/crystal-setup.sh
|
||||||
|
@chmod 755 vendor/diff-so-fancy
|
||||||
|
@chmod 755 vendor/rustup-init.sh
|
||||||
|
@chmod 755 vendor/crystal-setup.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user