mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-11 06:37:31 +00:00
newapkbuild: assume perl package if package name starts with perl-
This commit is contained in:
parent
b581f87e85
commit
50cfdd620a
@ -131,7 +131,7 @@ __EOF__
|
||||
if [ -z "$buildtype" ]; then
|
||||
if [ -x "$sdir"/configure ]; then
|
||||
buildtype="autotools"
|
||||
elif [ -r "$sdir"/Makefile.PL ]; then
|
||||
elif [ -r "$sdir"/Makefile.PL ] || [ "${pn#perl-}" != "$pn" ]; then
|
||||
buildtype="perl"
|
||||
elif [ -r "$sdir"/waf ]; then
|
||||
buildtype="waf"
|
||||
|
Loading…
Reference in New Issue
Block a user