summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/templ/perl-pkg3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/templ/perl-pkg b/bin/templ/perl-pkg
index 50baaa3..e2cfbdf 100755
--- a/bin/templ/perl-pkg
+++ b/bin/templ/perl-pkg
@@ -30,6 +30,7 @@ options=('!emptydirs')
depends=({: depends :})
makedepends=({: makedepends :})
checkdepends=({: checkdepends :})
+conflicts=({: conflicts :})
url={: url :}
source=({: source :})
md5sums=({: md5sums :})
@@ -87,7 +88,7 @@ sub expandvar
$val->[0] =~ s/([\$\"\`])/\\$1/g;
return qq{"$val->[0]"};
}
- elsif ($name =~ /depends$/) {
+ elsif ($name =~ /conflicts|depends$/) {
my @deps = map { qq{'$_'} } @$val;
return wrap(q{}, q{ } x (length($name) + 2), @deps);
}