blob: 0d61e0ba089e6b582179e723332706ed3e3f060b (
plain)
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
|
# Contributor: Karel Kočí <cynerd@email.cz>
# Maintainer: Karel Kočí <cynerd@email.cz>
pkgname=pkgs-root
pkgver=0.3.15
pkgrel=1
pkgdesc="Personal root package"
url="https://git.cynerd.cz/alpine-personal-pkgs/"
arch="noarch"
license="GPL-3.0+"
options="!check"
subpackages="
$pkgname-base:base
$pkgname-virtual:virtual
$pkgname-rpi-common:rpi_common
$pkgname-rpi:rpi
$pkgname-rpi2:rpi2
$pkgname-rpi-wireless:rpi_wireless
$pkgname-mpd:mpd
$pkgname-kodi:kodi
$pkgname-host-lipwig:host_lipwig
$pkgname-host-public:host_public
$pkgname-host-mpd-home:host_mpd_home
$pkgname-host-mpd-prg:host_mpd_prg
$pkgname-host-print:host_print
"
package() { mkdir -p "$pkgdir"; }
base() {
depends="
alpine-base
personal-repo
acct acct-cynerd
chrony
openssh
sudo
iptables ip6tables
shellrc-zsh bash
coreutils grep
util-linux
rsync curl file tree findutils
vim htop ncdu
parted
"
mkdir -p "$pkgdir-base"
}
virtual() {
depends="
$pkgname-base
btrfs-progs e2fsprogs
linux-virt syslinux
"
mkdir -p "$pkgdir-virtual"
}
rpi_common() {
depends="
$pkgname-base
btrfs-progs
raspberrypi raspberrypi-bootloader
zram-init-openrc
"
mkdir -p "$pkgdir-rpi-common"
}
rpi() {
depends="
$pkgname-rpi-common
linux-rpi mesa-dri-vc4
"
mkdir -p "$pkgdir-rpi"
}
rpi2() {
depends="
$pkgname-rpi-common
linux-rpi2
"
mkdir -p "$pkgdir-rpi2"
}
rpi_wireless() {
depends="
$pkgname-rpi
iw wireless-tools wpa_supplicant wpa_supplicant-openrc
"
mkdir -p "$pkgdir-rpi-wireless"
}
mpd() {
depends="
$pkgname-base
mpd mpc alsa-utils
sshfs gawk
pulseaudio
pulseaudio-alsa
pulseaudio-openrc
pulseaudio-utils
pulseaudio-zeroconf
pulseaudio-zsh-completion
pulsemixer
alsa-plugins-pulse
eudev-openrc
dbus-openrc
"
mkdir -p "$pkgdir-mpd"
}
kodi() {
depends="
$pkgname-base
kodi-x11
xf86-input-libinput xf86-video-modesetting xorg-server
eudev libinput
samba-client
"
mkdir -p "$pkgdir-kodi"
}
host_lipwig() {
depends="
$pkgname-base
nginx certbot
git git-daemon gitolite cgit
alpine-sdk py-virtualenv
openvpn
influxdb grafana
"
mkdir -p "$pkgdir-host-lipwig"
}
host_public() {
depends="
$pkgname-virtual
lighttpd certbot
git git-daemon gitolite cgit
alpine-sdk py-virtualenv
"
mkdir -p "$pkgdir-host-public"
}
host_mpd_home() {
depends="
$pkgname-rpi2
$pkgname-mpd
"
mkdir -p "$pkgdir-host-mpd-home"
}
host_mpd_prg() {
depends="
$pkgname-rpi-wireless
$pkgname-mpd
$pkgname-kodi
mesa-dri-vc4
"
mkdir -p "$pkgdir-host-mpd-prg"
}
host_print() {
depends="
$pkgname-rpi-wireless
py3-virtualenv python3
git build-base linux-headers yaml-dev python3-dev
"
mkdir -p "$pkgdir-host-print"
}
|