-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
77 lines (55 loc) · 1.83 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
packages := $(shell ls -d */ | sed 's,/,,')
# AUR packages
X11-apps-aur := yacreader slack-desktop shortwave
# for some reason touchegg needs xorgproto-git at the moment.
tablet-apps-aur := xorgproto-git touchegg-qt5 iio-sensor-proxy-git screenrotator-git
devel-aur := jekyll babashka-bin qmk boot
min-devel-aur := closh
Anbox := anbox-git anbox-modules-dkms-git
games-aur := pcsxr rpcs3-git libretro-pcsx2
maker-aur := slic3r-bin kisslicer octoprint-venv octoprint-metadata-preprocessor \
mattercontrol printrun repetier-host # replicatorg
nec-aur := yay rar
Iot-aur := particle-cli
xmonad-aur := polybar xmonad-log nerd-fonts-complete
aur-packages := $(X11-apps-aur) $(nec-aur) mu-git $(devel-aur) $(min-devel)\
$(Anbox) $(tablet-apps-aur) $(games-aur) $(maker-aur) \
$(xmonad-aur) $(Iot-aur)
# groups cannot be installed via dependencies in PKGBUILD
groups := xorg xorg-apps xorg-fonts alsa xfce4 xfce-goodies
everything := $(packages) $(groups) $(aur-packages)
all: $(everything)
print-% : ; @echo $* = $($*)
clean:
rm -f */*.xv
rm -f */*.xz
rm -f */*.zst
rm -rf */src
rm -rf */pkg
.PHONY: $(everything)
$(packages):
cd $@; makepkg -si --noconfirm --needed
$(aur-packages):
yay -S --noconfirm --needed $@
$(groups):
sudo pacman -S --noconfirm --needed $@
# not necessary to list them, but it's clearer.
necessities: $(nec-aur) yay
emacs-pkg-setup: necessities natural-language mu-git
X11: xorg xorg-apps xorg-fonts
X11-apps: audio $(X11-apps-aur)
Xfce: xfce4 xfce-goodies
audio: shortwave
devel: $(devel-aur) $(min-devel-aur)
maker: devel $(maker-aur)
yay:
games: $(games-aur)
Xmonad: $(xmonad-aur)
natural-language:
mobile-studio-pro:
tablet: $(tablet-apps-aur)
anbox: $(Anbox)
Iot: $(Iot-aur) minduino $(min-devel-aur) necessities
baseX11: necessities X11 audio Xmonad
git-sub-update:
git submodule update --recursive --remote