~dieggsy/arch-pkgs

ref: 93c409192b141a10548bad69e4cc319dc0385e67 arch-pkgs/dieggsy-base/PKGBUILD -rw-r--r-- 1.5 KiB
93c40919dieggsy Enable plocate-updatedb timer 1 year, 10 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
# Maintainer: dieggsy <dieggsy@pm.me>

pkgname=(dieggsy-base dieggsy-server)
pkgver=3.10
pkgrel=1
pkgdesc="Base system meta-package"
arch=('any')
url="https://github.com/dieggsy/arch-pkgs"
license=('MIT')
groups=('dieggsy')

# base package + stuff I need from old base group
# Note: the linux kernel dependency is added in the -base and -server packages
# explicitly, as I prefer the -lts kernel on servers.
depends=(base linux-firmware diffutils man-db man-pages)

# from base-devel
depends+=(autoconf automake gcc make patch pkgconf sudo util-linux)

# other devel
depends+=(ccache gdb git)

# shell (zsh)
depends+=(zsh
          zsh-autopair-git # aur !
          zsh-autosuggestions
          zsh-completions
          zsh-history-substring-search)

# ssh
depends+=(openssh autossh)

# package management
depends+=(paru-bin # aur !
          pacman-contrib
          reflector)

# services
depends+=(cronie ntp logrotate)

# system monitoring
depends+=(ncdu htop)

# editor
depends+=(neovim python-pynvim)

# other
depends+=(plocate ripgrep rsync stow)

# optional
optdepends=(zip unzip wget arch-audit lostfiles)

package_dieggsy-base() {
    depends+=(linux)
}

package_dieggsy-server() {
    depends+=(linux-lts)
    optdepends+=(grub)
}

post_install() {
    pacman -Dq --asdeps $(pacman -Qqi dieggsy-base | grep "Depends On" | cut -d: -f2)
    systemctl enable --now cronie.service
    systemctl enable --now ntpd.service
    systemctl enable --now paccache.timer
    systemctl enable --now logrotate.timer
    systemctl enable --now plocate-updatedb.timer
}