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

commit 8196a2ceeaa80ac8c0fcb8dab43c9d2cfcf16cd9
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Wed Dec 9 21:06:15 2009 +0000

perl-poe-filter-xml-0.38-2-i686
fix empty pkg

diff --git a/source/devel-extra/perl-poe-filter-xml/FrugalBuild 
b/source/devel-extra/perl-poe-filter-xml/FrugalBuild
index 6be9da3..ea2da01 100644
--- a/source/devel-extra/perl-poe-filter-xml/FrugalBuild
+++ b/source/devel-extra/perl-poe-filter-xml/FrugalBuild
@@ -4,7 +4,7 @@
_F_perl_name=POE-Filter-XML
_F_perl_author=N/NP/NPEREZ
pkgver=0.38
-pkgrel=1
+pkgrel=2
pkgdesc="A POE Filter for parsing XML."
depends=('perl-xml-sax' 'perl-filter-template' 'perl-poe' 
'perl-xml-sax-expat-incremental')
Finclude perl
@@ -15,4 +15,21 @@ build()
{
Fcd
perl Build.PL || Fdie
+       ./Build || Fdie
+       ./Build install destdir=$Fdestdir || Fdie
+
+       if [ -d $Fdestdir/usr/lib/perl5/*.*.* ]; then
+                Fmv '/usr/lib/perl5/*.*.*' /usr/lib/perl5/current
+        fi
+        if [ -d $Fdestdir/usr/lib/perl5 ]; then
+                find $Fdestdir/usr/lib/perl5 -name perllocal.pod -exec rm {} \;
+                find $Fdestdir/usr/lib/perl5 -name .packlist -exec rm {} \;
+        fi
+        if [ -e $Fdestdir/usr/lib/perl5/site_perl/*.*.* ]; then
+                Fmv '/usr/lib/perl5/site_perl/*.*.*' 
/usr/lib/perl5/site_perl/current
+        fi
+        if [ -d $Fdestdir/usr/lib/perl5/site_perl ]; then
+                find $Fdestdir/usr/lib/perl5/site_perl -name perllocal.pod 
-exec rm {} \;
+                find $Fdestdir/usr/lib/perl5/site_perl -name .packlist -exec 
rm {} \;
+        fi
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to