Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ef409b844f1cbaaa8c8b4b25d38c1f3804d27047

commit ef409b844f1cbaaa8c8b4b25d38c1f3804d27047
Author: Devil505 <[email protected]>
Date:   Sun Nov 22 08:42:42 2009 +0100

perl-sdl-2.2.6-1-i686
* added custom up2date() and source() to have a correct versionning (avoiding 
"v" in pkgver)

diff --git a/source/xlib-extra/perl-sdl/FrugalBuild 
b/source/xlib-extra/perl-sdl/FrugalBuild
index 7ae05b2..12db0a9 100644
--- a/source/xlib-extra/perl-sdl/FrugalBuild
+++ b/source/xlib-extra/perl-sdl/FrugalBuild
@@ -3,10 +3,12 @@

_F_perl_name=SDL_Perl
_F_perl_author=K/KT/KTHAKORE
-pkgver=v2.2.6
+pkgver=2.2.6
pkgdesc="Simple DirectMedia Layer for Perl"
depends=('sdl_mixer' 'sdl_net' 'sdlimage' 'smpeg>=0.4.4-2' 'sdl_gfx>=2.0.19' 
'perl-yaml')
Finclude perl
+up2date="lynx -dump -nolist 
'http://search.cpan.org/search?query="$_F_perl_name"&mode=module'|grep -m1 
"$_F_perl_name-"|sed -e 's/.*"$_F_perl_name"-\(.*\) .*/\1/' -e 's/ .*//' | sed 
's/v//g'"
+source=($_F_perl_url$_F_perl_author/$_F_perl_sourcename-v${pkgver}$_F_perl_ext)
pkgrel=1
pkgname=perl-sdl
groups=('xlib-extra')
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to