# Contributor: Karel Kočí # Maintainer: Karel Kočí pkgname=pkgs-root pkgver=0.3.18 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-mpd-home:host_mpd_home $pkgname-host-mpd-adamk:host_mpd_adamk $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 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 lighttpd certbot git git-daemon gitolite cgit py3-pygments alpine-sdk py-virtualenv openvpn influxdb collectd grafana radicale syncthing " mkdir -p "$pkgdir-host-lipwig" } host_mpd_home() { depends=" $pkgname-rpi2 $pkgname-mpd " mkdir -p "$pkgdir-host-mpd-home" } host_mpd_adamk() { depends=" $pkgname-rpi-wireless $pkgname-mpd " mkdir -p "$pkgdir-host-mpd-adamk" } host_print() { depends=" $pkgname-rpi-wireless py3-virtualenv python3 git build-base linux-headers yaml-dev python3-dev " mkdir -p "$pkgdir-host-print" }