From b01a803e7aee81275a48670cecca6a5d75edaa0d Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Tue, 16 Aug 2011 12:06:29 -0400 Subject: Add conflicts array to PKGBUILD. --- bin/templ/perl-pkg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') 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); } -- cgit v1.2.3-24-g4f1b