Commit 50cfdd62 authored by Natanael Copa's avatar Natanael Copa

newapkbuild: assume perl package if package name starts with perl-

parent b581f87e
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment