From aeeb51372863bd95b5126691c16851d52082ac92 Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Sun, 13 May 2012 20:40:10 -0400 Subject: Add feature to replace ver-strings with $pkgver. Alot of logic was added to allow changing versions in mods while still preserving the version in the $_ver custom variable. --- preps/perl.d/perl-dist | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'preps') diff --git a/preps/perl.d/perl-dist b/preps/perl.d/perl-dist index 67616cd..05269f3 100755 --- a/preps/perl.d/perl-dist +++ b/preps/perl.d/perl-dist @@ -430,8 +430,7 @@ sub main 'pkgver' => $ver, 'pkgdesc' => $meta->{'abstract'}, 'arch' => (xsdist($distdir) ? ['i686', 'x86_64'] : 'any'), - 'distdir' => qq{"\$srcdir/$distdir"}, - 'customvars' => 'distdir', + 'dir' => "\$srcdir/$distdir", %$deps, ); -- cgit v1.2.3-24-g4f1b