diff options
author | Karel Kočí <karel.koci@nic.cz> | 2020-01-08 17:32:39 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2020-01-08 17:32:39 +0100 |
commit | 14d43432d82389dfb0f31540492abd1a1b0005cc (patch) | |
tree | 7f93bdfb17677df813ea66b4a5396cd746e22656 /pkgs-root | |
parent | 9ab4db4862eff41d61a9818c42a2efec0334d814 (diff) | |
download | alpine-personal-pkgs-14d43432d82389dfb0f31540492abd1a1b0005cc.tar.gz alpine-personal-pkgs-14d43432d82389dfb0f31540492abd1a1b0005cc.tar.bz2 alpine-personal-pkgs-14d43432d82389dfb0f31540492abd1a1b0005cc.zip |
pkgs-root: try to improve organization
Diffstat (limited to 'pkgs-root')
-rw-r--r-- | pkgs-root/APKBUILD | 78 |
1 files changed, 60 insertions, 18 deletions
diff --git a/pkgs-root/APKBUILD b/pkgs-root/APKBUILD index ce21a9e..680aef8 100644 --- a/pkgs-root/APKBUILD +++ b/pkgs-root/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Karel Kočí <cynerd@email.cz> # Maintainer: Karel Kočí <cynerd@email.cz> pkgname=pkgs-root -pkgver=0.1 +pkgver=0.2 pkgrel=1 pkgdesc="Personal root package" url="https://git.cynerd.cz/alpine-personal-pkgs/" @@ -12,14 +12,17 @@ options="!check" subpackages=" $pkgname-base:base $pkgname-virtual:virtual - $pkgname-public:public + $pkgname-rpi:rpi + $pkgname-rpi-wireless:rpi_wireless $pkgname-mpd:mpd - $pkgname-print:print + $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" -} +package() { mkdir -p "$pkgdir"; } base() { depends=" @@ -42,24 +45,26 @@ base() { virtual() { depends=" $pkgname-base - btrfs-progs e2fsprogs linux-virt syslinux " mkdir -p "$pkgdir-virtual" } -public() { +rpi() { depends=" - $pkgname-virtual - - lighttpd certbot - - git git-daemon gitolite cgit + $pkgname-base + linux-rpi + " + mkdir -p "$pkgdir-rpi" +} - alpine-sdk py-virtualenv +rpi_wireless() { + depends=" + $pkgname-rpi + iw wireless-tools wpa_supplicant wpa_supplicant-openrc " - mkdir -p "$pkgdir-public" + mkdir -p "$pkgdir-rpi-wireless" } mpd() { @@ -72,15 +77,52 @@ mpd() { mkdir -p "$pkgdir-mpd" } -print() { +kodi() { depends=" $pkgname-base - iw wireless-tools wpa_supplicant wpa_supplicant-openrc + kodi 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 py2-virtualenv python2 python2-dev yaml-dev " - mkdir -p "$pkgdir-print" + mkdir -p "$pkgdir-host-print" } |