From 33957133ec1ca6839283a0aae24ee3d245516953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sat, 8 May 2021 02:42:03 +0200 Subject: [PATCH] newapkbuild: automatically add perl to $depends The same thing is already done for other scripting languages (e.g. python). --- newapkbuild.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/newapkbuild.in b/newapkbuild.in index 8347784..eb359dd 100644 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -242,6 +242,10 @@ newaport() { depends="python3" fi + if [ -z "$depends" ] && [ "$buildtype" = "perl" ]; then + depends="perl" + fi + if [ -z "$checkdepends" ] && [ "$buildtype" = "python" ]; then checkdepends="py3-pytest" fi