diff options
Diffstat (limited to 'abs')
-rw-r--r--[-rwxr-xr-x] | abs/core/perl_modules/perl-net-upnp/PKGBUILD | 40 | ||||
-rw-r--r-- | abs/core/perl_modules/perl-net-upnp/perl-config-simple/PKGBUILD | 25 |
2 files changed, 22 insertions, 43 deletions
diff --git a/abs/core/perl_modules/perl-net-upnp/PKGBUILD b/abs/core/perl_modules/perl-net-upnp/PKGBUILD index 26db326..a49bd6e 100755..100644 --- a/abs/core/perl_modules/perl-net-upnp/PKGBUILD +++ b/abs/core/perl_modules/perl-net-upnp/PKGBUILD @@ -1,23 +1,27 @@ +# $Id$ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Drew Gilbert <gilbert dot drew at gmail dot com> + pkgname=perl-net-upnp -pkgver=1.4.1 -pkgrel=1 -pkgdesc="Net::UPnP::AV::MediaServer - Perl extension for UPnP." -arch=(i686 x86_64) -url="http://search.cpan.org/~sbeck/DateManip-$pkgver/" +pkgver=1.4.2 +pkgrel=3 +pkgdesc="Perl Module UPnP" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~skonno/Net-UPnP-1.4.2/" +license=('BSD' 'PerlArtistic') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/S/SK/SKONNO/Net-UPnP-${pkgver}.tar.gz") depends=('perl') -source=(http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/DateManip-$pkgver.tar.gz) -source=http://search.cpan.org/CPAN/authors/id/S/SK/SKONNO/Net-UPnP-1.4.1.tar.gz +md5sums=('bc009fd76b565df40a70aca49af82a7d') + build() { - cd $startdir/src/Net-UPnP-$pkgver - # Force module installation to "current" perl directories. - /usr/bin/perl Makefile.PL \ - INSTALLARCHLIB=/usr/lib/perl5/current/${CARCH}-linux-thread-multi \ - INSTALLSITELIB=/usr/lib/perl5/site_perl/current \ - INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${CARCH}-linux-thread-multi - make || return 1 - make DESTDIR=$startdir/pkg install + cd "${srcdir}/Net-UPnP-${pkgver}" + + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR="${pkgdir}" - # remove perllocal.pod, .packlist, and empty dirs. - /bin/rm -rf $startdir/pkg/usr/lib/perl5/current - /bin/rm -rf $startdir/pkg/usr/lib/perl5/site_perl/current/${CARCH}-linux-thread-multi + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-net-upnp/perl-config-simple/PKGBUILD b/abs/core/perl_modules/perl-net-upnp/perl-config-simple/PKGBUILD deleted file mode 100644 index a566dbc..0000000 --- a/abs/core/perl_modules/perl-net-upnp/perl-config-simple/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Cecil H. Watson <knoppmyth@gmail.com - -pkgname=perl-config-simple -_realname=Config-Simple -pkgver=4.59 -pkgrel=1 -pkgdesc="Simple configuration file class for perl" -arch=(i686 x86_64) -license=('PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -depends=('perlxml' 'perl>=5.10.0') -options=('!emptydirs') -source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/S/SH/SHERZODR/${_realname}-${pkgver}.tar.gz) -md5sums=('96513b61c7db591339ce2577878a3b32') - -build() { - cd ${startdir}/src/${_realname}-${pkgver} - perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 - - find ${startdir}/pkg -name '.packlist' -delete - find ${startdir}/pkg -name 'perllocal.pod' -delete -} |