summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5829bfaa..04a2e4d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
# Author: Maxim Devaev <[email protected]>
-[ -n "$_PLATFORMS" ] || _PLATFORMS="v1-vga v1-hdmi"
-[ -n "$_BOARDS" ] || _BOARDS="rpi2 rpi3"
+[ -n "$PIKVM_PLATFORM" ] || PIKVM_PLATFORM="v1-vga v1-hdmi"
+[ -n "$PIKVM_BOARD" ] || PIKVM_BOARD="rpi2 rpi3"
pkgname=(kvmd)
-for _platform in $_PLATFORMS; do
- for _board in $_BOARDS; do
+for _platform in $PIKVM_PLATFORM; do
+ for _board in $PIKVM_BOARD; do
pkgname+=(kvmd-platform-$_platform-$_board)
done
done
@@ -94,8 +94,8 @@ package_kvmd() {
}
-for _platform in $_PLATFORMS; do
- for _board in $_BOARDS; do
+for _platform in $PIKVM_PLATFORM; do
+ for _board in $PIKVM_BOARD; do
eval "package_kvmd-platform-$_platform-$_board() {
pkgdesc=\"Pi-KVM platform configs - $_platform for $_board\"