newapkbuild: automatically add perl to $depends

The same thing is already done for other scripting languages (e.g.
python).
This commit is contained in:
Sören Tempel 2021-05-08 02:42:03 +02:00 committed by Natanael Copa
parent e0e6ee0d14
commit 33957133ec
1 changed files with 4 additions and 0 deletions

View File

@ -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