summaryrefslogtreecommitdiff
path: root/pkgs-root/APKBUILD
blob: ce21a9e96a181d203d35c088da4abe47a5624578 (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
# Contributor: Karel Kočí <cynerd@email.cz>
# Maintainer: Karel Kočí <cynerd@email.cz>
pkgname=pkgs-root
pkgver=0.1
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-public:public
	$pkgname-mpd:mpd
	$pkgname-print:print
"

package() {
	mkdir -p "$pkgdir"
}

base() {
	depends="
		alpine-base
		personal-repo

		chrony
		openssh
		sudo
		iptables ip6tables

		shellrc-zsh bash
		coreutils grep
		rsync curl file tree
		vim htop ncdu
	"
	mkdir -p "$pkgdir-base"
}

virtual() {
	depends="
		$pkgname-base

		btrfs-progs e2fsprogs
		linux-virt syslinux
	"
	mkdir -p "$pkgdir-virtual"
}

public() {
	depends="
		$pkgname-virtual

		lighttpd certbot

		git git-daemon gitolite cgit

		alpine-sdk py-virtualenv
	"
	mkdir -p "$pkgdir-public"
}

mpd() {
	depends="
		$pkgname-base

		mpd mpc alsa-utils
		sshfs gawk
	"
	mkdir -p "$pkgdir-mpd"
}

print() {
	depends="
		$pkgname-base

		iw wireless-tools wpa_supplicant wpa_supplicant-openrc
		mesa-dri-vc4

		py2-virtualenv python2 python2-dev
		yaml-dev
	"
	mkdir -p "$pkgdir-print"
}