[Frugalware-darcs] frugalware-current: perl.sh: Added _F_perl_sourcename

Christian Hamar alias krix krics at linuxforum.hu
Wed Aug 30 21:42:40 CEST 2006


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20060830194021-d209c-320cd16aa894c691c34e9ca0dec44c69661b0c29.gz;

[perl.sh: Added _F_perl_sourcename
Christian Hamar alias krix <krics at linuxforum.hu>**20060830194021
   * Added _F_perl_sourcename variable
   * See perl-readkey for "example"
   - NOTE: Needed when modname=ReadKey but source on cpan is TermReadKey*
 
] {
hunk ./source/include/perl.sh 23
+[ -z "$_F_perl_sourcename" ] && _F_perl_sourcename="$modname"
+
hunk ./source/include/perl.sh 29
-source=($_F_perl_url$modauthor/$modname-$pkgver$_F_perl_ext)
+source=($_F_perl_url$modauthor/$_F_perl_sourcename-$pkgver$_F_perl_ext)
}


More information about the Frugalware-darcs mailing list