-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
84 lines (70 loc) · 3.2 KB
/
PKGBUILD
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
pkgbase=system-config
pkgname=(base-config radomir-config mikhail-config boris-config)
pkgver=1.12
pkgrel=0
pkgdesc='Custom system configurations'
arch=('any')
url='https://github.com/Lizards/arch-system-config'
license=('custom')
source=(
'bin-package-sync.sh'
'etc-modprobe-pcspkr.conf'
'etc-pacman-mirror-upgrade.hook'
'etc-pacman-paccache-remove.hook'
'etc-pacman-paccache-upgrade.hook'
'etc-pacman-systemd-boot.hook'
'etc-samba-smb.conf'
'etc-sysctl-max-user-watches.conf'
'etc-xorg-intel-backlight.conf'
'etc-xorg-libinput-touchpad.conf'
'etc-xorg-no-mouse-accel.conf'
'etc-sudoers.d-custom'
)
package_base-config() {
pkgdesc='Common system configuration'
depends=(
'sudo'
)
install=base-config.install
install -Dm0755 bin-package-sync.sh "$pkgdir"/usr/local/bin/package-sync
install -Dm0644 etc-modprobe-pcspkr.conf "$pkgdir"/etc/modprobe.d/pcspkr.conf
install -Dm0600 etc-sudoers.d-custom "$pkgdir"/etc/sudoers.d/10-custom
install -Dm0644 etc-pacman-mirror-upgrade.hook "$pkgdir"/etc/pacman.d/hooks/mirror-upgrade.hook
install -Dm0644 etc-pacman-paccache-upgrade.hook "$pkgdir"/etc/pacman.d/hooks/paccache-upgrade.hook
install -Dm0644 etc-pacman-paccache-remove.hook "$pkgdir"/etc/pacman.d/hooks/paccache-remove.hook
install -Dm0644 etc-pacman-systemd-boot.hook "$pkgdir"/etc/pacman.d/hooks/systemd-boot.hook
install -Dm0644 etc-samba-smb.conf "$pkgdir"/etc/samba/smb.conf
install -Dm0644 etc-sysctl-max-user-watches.conf "$pkgdir"/etc/sysctl.d/40-max-user-watches.conf
install -Dm0644 etc-xorg-no-mouse-accel.conf "$pkgdir"/etc/X11/xorg.conf.d/50-no-mouse-accel.conf
}
package_mikhail-config() {
pkgdesc='System configurations for mikhail (desktop PC)'
depends=('base-config')
conflicts=('radomir-config' 'boris-config')
}
package_boris-config() {
pkgdesc='System configurations for boris (X1 Carbon Gen 6)'
depends=('base-config' 'xf86-video-intel' 'xf86-input-libinput' 'xorg-xbacklight' 'fwupd')
optdepends=('lenovo-throttling-fix-git: Lenovo power management patch')
conflicts=('radomir-config' 'mikhail-config')
install -Dm0644 etc-xorg-intel-backlight.conf "$pkgdir"/etc/X11/xorg.conf.d/10-intel-backlight.conf
install -Dm0644 etc-xorg-libinput-touchpad.conf "$pkgdir"/etc/X11/xorg.conf.d/51-libinput-touchpad.conf
}
package_radomir-config() {
pkgdesc='System configurations for radomir (X1 Carbon Gen 12)'
depends=('base-config' 'sof-firmware' 'intel-media-driver' 'xf86-input-libinput' 'acpilight' 'fwupd')
conflicts=('mikhail-config' 'boris-config')
install -Dm0644 etc-xorg-libinput-touchpad.conf "$pkgdir"/etc/X11/xorg.conf.d/51-libinput-touchpad.conf
}
md5sums=('d73e8e49ec2d7c4b7b6d9d2c30e40f81'
'a9ceb54c8a4640b71cb64ba29586c7bb'
'ab5c11edd04b6e4fc104c383d04d4313'
'3cc617fe0aecd037ea7f45fd2e06221b'
'3af7587abe25c2b96c58ab50fd9554e4'
'dce4058960baf1608bfa496e0c8ad715'
'1c95f7edc3d1fb6ac204b7be5787ab1b'
'acaed183146fb92c5db187472ec69e63'
'c20980fa99ab840ff3a501644fdb3343'
'ea90af87197b37469835c2683273ea44'
'5d6b7b66421ade7b81417444e232aeb0'
'21df011f2adcd0bb7d8ab991146ae1a2')