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

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

parent b581f87e
...@@ -131,7 +131,7 @@ __EOF__ ...@@ -131,7 +131,7 @@ __EOF__
if [ -z "$buildtype" ]; then if [ -z "$buildtype" ]; then
if [ -x "$sdir"/configure ]; then if [ -x "$sdir"/configure ]; then
buildtype="autotools" buildtype="autotools"
elif [ -r "$sdir"/Makefile.PL ]; then elif [ -r "$sdir"/Makefile.PL ] || [ "${pn#perl-}" != "$pn" ]; then
buildtype="perl" buildtype="perl"
elif [ -r "$sdir"/waf ]; then elif [ -r "$sdir"/waf ]; then
buildtype="waf" 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