summaryrefslogtreecommitdiff
path: root/pkgs-root/APKBUILD
blob: a8902846d717d743f5b5b616b0ce94f41644ca90 (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:x86_64
	$pkgname-mpd:mpd:armhf
	$pkgname-print:print:aarch64
"

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"
}

virtual() {
	depends="
		$pkgname-base

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

public() {
	depends="
		$pkgname-virtual

		lighttpd certbot

		git git-daemon gitolite cgit

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

mpd() {
	depends="
		$pkgname-base

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

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"
}