# Contributor: Karel Kočí # Maintainer: Karel Kočí pkgname=pkgs-root pkgver=0.3.5 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:rpi $pkgname-rpi-wireless:rpi_wireless $pkgname-mpd:mpd $pkgname-kodi:kodi $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 chrony openssh sudo iptables ip6tables shellrc-zsh bash coreutils grep util-linux rsync curl file tree findutils vim htop ncdu " mkdir -p "$pkgdir-base" } virtual() { depends=" $pkgname-base btrfs-progs e2fsprogs linux-virt syslinux " mkdir -p "$pkgdir-virtual" } rpi() { depends=" $pkgname-base btrfs-progs linux-rpi raspberrypi-bootloader mesa-dri-vc4 raspberrypi " mkdir -p "$pkgdir-rpi" } 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 " mkdir -p "$pkgdir-mpd" } kodi() { depends=" $pkgname-base kodi-gbm kodi-openrc " mkdir -p "$pkgdir-kodi" } 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-rpi $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 python3-dev yaml-dev " mkdir -p "$pkgdir-host-print" }