summaryrefslogtreecommitdiffstats
path: root/preps
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-05-14 02:40:10 +0200
committerJustin Davis <jrcd83@gmail.com>2012-05-14 02:40:10 +0200
commitaeeb51372863bd95b5126691c16851d52082ac92 (patch)
tree7be6aef8b78fcb12e266450d1307e5a9c27c28c2 /preps
parentce30a8af59f163bc09be80955d38b56039785735 (diff)
downloadgenpkg-aeeb51372863bd95b5126691c16851d52082ac92.tar.gz
genpkg-aeeb51372863bd95b5126691c16851d52082ac92.tar.xz
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.
Diffstat (limited to 'preps')
-rwxr-xr-xpreps/perl.d/perl-dist3
1 files changed, 1 insertions, 2 deletions
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,
);