~tardypad/arch-system

ref: 19259a2423aba7f20e5c6e0159a180ed76927adb arch-system/builds/system-config/PKGBUILD -rw-r--r-- 3.4 KiB
19259a24 — Damien Tardy-Panis system-config: enable pacman parallel downloads of packages 4 months ago
                                                                                
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
pkgbase=system-config
pkgname=(
  'system-config-light'
  'system-config-dark'
)
pkgver=150
pkgrel=1
pkgdesc='System configurations'
url='https://github.com/tardypad/arch-packages'
arch=('any')
license=('custom')

conflicts=(
  'system-config'
)

provides=(
  'system-config'
)

replaces=(
  'system-config'
)

install=system-config.install

# base installation
depends=(
  base
  linux
  linux-firmware
  efibootmgr
  grub
  intel-ucode
  os-prober
)

# base-devel group packages
depends=(
  autoconf
  automake
  binutils
  bison
  fakeroot
  file
  findutils
  flex
  gammastep
  gawk
  gcc
  gettext
  grep
  groff
  gzip
  libtool
  m4
  make
  pacman
  patch
  pkgconf
  sed
  sudo
  texinfo
  which
)

depends+=(
  adobe-source-code-pro-fonts
  adobe-source-han-sans-jp-fonts # needed for some emojis characters ¯\_(ツ)_/¯
  adobe-source-sans-pro-fonts
  adobe-source-serif-pro-fonts
  aerc
  alacritty
  alsa-utils
  amfora
  aria2
  asciinema
  asciitosvg-git
  aurutils
  bats-core
  bc
  bemenu-wayland
  bluez
  bluez-tools # contains bt-obex needed to receive files via bluetooth
  bluez-utils
  catimg
  chromium
  cmark
  cryptsetup
  ctags
  curl
  device-mapper
  dhcpcd # not sure I still need this one
  diffutils
  dosfstools # FAT filesystem utilities
  e2fsprogs
  entr
  firefox
  fzf
  gimp
  git
  gmni-git
  go
  gopls
  grim
  gron-bin
  gst-plugins-bad # play FLAC files
  htop
  httpie
  hyperfine
  i3blocks
  imagemagick
  imv
  inetutils
  inkscape
  jq
  khard
  less
  libpipewire02 # older version needed for screen sharing in chromium
  libqalculate
  libreoffice-fresh
  libxml2
  light
  logrotate
  lvm2
  mako
  man-db
  man-pages
  mpc
  mpd
  mpv
  mtools # needed for syslinux to create an Arch installer on USB
  ncdu
  netctl # not sure I still need this one
  networkmanager
  oath-toolkit
  openssh
  otf-font-awesome
  p7zip # extract ZIP archives using encryptions not supported by unzip
  pacman-contrib # needed for paccache service
  pass
  perl-authen-sasl # git email
  perl-net-smtp-ssl # git email
  perl-mime-tools # git email
  pipewire-media-session # needed for screen sharing in browsers
  pulseaudio
  pulseaudio-alsa
  pulseaudio-bluetooth
  python-adblock # needed for qutebrowser adblocking
  qutebrowser
  ripgrep
  rsync
  scdoc
  sfeed
  shellcheck-bin
  slurp
  s-nail
  speedtest-cli
  sudo
  sway
  swayidle
  swaylock
  syslinux # needed to create an Arch installer on USB
  tmux
  translate-shell
  tree
  unrar
  unzip
  usbutils
  vi
  vim
  vim-ale
  vim-go
  vim-goyo-git
  vim-gutentags-git
  vim-nerdcommenter
  vim-oscyank-git
  vim-sayonara-git
  vim-surround-git
  vim-taboo-git
  vim-tagbar
  vim-tmux-navigator-git
  vim-ultisnips
  vim-undotree
  w3m
  weechat
  weechat-vimode-git
  wf-recorder
  wl-clipboard
  xdg-desktop-portal-wlr
  xdg-utils
  xorg-xwayland # run X clients within sway
  ydotool
  yq-go
  yubikey-manager
  zathura
  zathura-cb # plugin to read comic books
  zathura-pdf-mupdf # plugin to read PDF files
  zip
  zsh
  zsh-autosuggestions
  zsh-history-substring-search
  zsh-syntax-highlighting
)

_rootdir=$PWD

package_common() {
  cp -R "$_rootdir"/files/* "$pkgdir"
  chmod 0750 "$pkgdir"/etc/sudoers.d
  chmod 0600 "$pkgdir"/etc/sudoers.d/*
}

package_system-config-light() {
  depends+=(
    dotfiles-light-git
  )

  package_common

  ln -sf issue_light "$pkgdir"/etc/issue
}

package_system-config-dark() {
  depends+=(
    dotfiles-dark-git
  )

  package_common

  ln -sf issue_dark "$pkgdir"/etc/issue
}