2018-11-28 00:45:17 +01:00
|
|
|
.PHONY: install
|
|
|
|
install:
|
|
|
|
@cd PKGBUILDs/${package} && makepkg -scif --noconfirm
|
|
|
|
|
2018-12-07 08:51:53 +01:00
|
|
|
.ONESHELL:
|
|
|
|
aur:
|
|
|
|
@mkdir -p .aur && cd .aur
|
|
|
|
@git clone "https://aur.archlinux.org/${package}.git"
|
|
|
|
@cd ${package}
|
|
|
|
@echo "==================================== Viewing ${package}"
|
|
|
|
@cat PKGBUILD
|
|
|
|
@echo "===================================="
|
|
|
|
@echo -n "Press enter to continue, or Ctrl+C to quit. " && read
|
|
|
|
@makepkg -sc
|
2021-06-22 00:04:12 +02:00
|
|
|
@sudo pacman -U *.pkg.tar.zst
|
2018-12-07 08:51:53 +01:00
|
|
|
|
2018-12-12 12:45:54 +01:00
|
|
|
.PHONY: refresh-keys
|
|
|
|
refresh-keys:
|
2018-11-28 00:45:17 +01:00
|
|
|
@sudo pacman-key --populate
|
|
|
|
@sudo pacman-key --refresh-keys
|
|
|
|
|
2018-12-07 21:29:37 +01:00
|
|
|
# https://old.reddit.com/r/archlinux/comments/5r5ep8
|
|
|
|
# 1. Disable bitmap fonts (not scalable for modern HiDPI displays)
|
|
|
|
# 2. Enable sub-pixel RGB rendering
|
|
|
|
# 3. Enable the LCD filter (reduces color fringing)
|
|
|
|
.PHONY: fontconfig
|
|
|
|
fontconfig:
|
|
|
|
@sudo ln -sf /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d
|
|
|
|
@sudo ln -sf /etc/fonts/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d
|
|
|
|
@sudo ln -sf /etc/fonts/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d
|
|
|
|
|
2018-12-07 21:59:10 +01:00
|
|
|
# 1. Always use emoji (best with the kitty terminal emulator)
|
|
|
|
# 2. Install global packages to /usr/local
|
|
|
|
.PHONY: yarnconfig
|
|
|
|
yarnconfig:
|
|
|
|
@yarn config set -- --emoji true
|
|
|
|
@yarn config set prefix /usr/local
|
|
|
|
|
2018-12-10 05:40:35 +01:00
|
|
|
.PHONY: rust
|
|
|
|
rust:
|
|
|
|
@rustup install stable
|
|
|
|
@rustup default stable
|
|
|
|
|
2018-12-11 21:14:36 +01:00
|
|
|
.PHONY: gnome
|
|
|
|
gnome:
|
|
|
|
@../gnome/.config/gnome/extensions.sh
|
|
|
|
@../gnome/.config/gnome/antialiasing.sh
|
|
|
|
@../gnome/.config/gnome/arc-dark-gtk-theme.sh
|
|
|
|
@../gnome/.config/gnome/breeze-cursor-theme.sh
|
|
|
|
|
2018-11-28 00:45:17 +01:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2018-12-08 16:39:10 +01:00
|
|
|
@rm -fv PKGBUILDs/**/*.pkg.tar.xz
|
|
|
|
@rm -fv PKGBUILDs/**/*.xpi
|
|
|
|
@rm -fv PKGBUILDs/**/*.tar.gz
|
|
|
|
@rm -fv PKGBUILDs/**/*.tar.bz2
|
|
|
|
@rm -fv PKGBUILDs/**/*.vim
|
2018-12-07 08:51:53 +01:00
|
|
|
@rm -rfv .aur
|