From 709ef5d8222b49ec4b4b398530a7efaf1082b032 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 31 May 2018 15:54:31 +0000 Subject: perl-net-upnp: update to 1.4.3 --- abs/core/perl_modules/perl-net-upnp/PKGBUILD | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/abs/core/perl_modules/perl-net-upnp/PKGBUILD b/abs/core/perl_modules/perl-net-upnp/PKGBUILD index 9d2945e..894d2a8 100644 --- a/abs/core/perl_modules/perl-net-upnp/PKGBUILD +++ b/abs/core/perl_modules/perl-net-upnp/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 143946 2011-11-30 21:55:00Z giovanni $ +# $Id: PKGBUILD 310007 2017-11-15 14:11:34Z foutrelis $ # Maintainer: Giovanni Scafora # Contributor: Drew Gilbert pkgname=perl-net-upnp -pkgver=1.4.2 -pkgrel=4 +pkgver=1.4.3 +pkgrel=3 pkgdesc="Perl Module UPnP" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~skonno/Net-UPnP-1.4.2/" +arch=('x86_64') +url="http://search.cpan.org/~skonno/Net-UPnP-1.4.3/" license=('BSD' 'PerlArtistic') options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/S/SK/SKONNO/Net-UPnP-${pkgver}.tar.gz") depends=('perl') -md5sums=('bc009fd76b565df40a70aca49af82a7d') +md5sums=('a30d7cc54290946aeb028650cfdc9279') build() { cd "${srcdir}/Net-UPnP-${pkgver}" @@ -22,11 +22,17 @@ build() { make } -package() { +check() { cd "${srcdir}/Net-UPnP-${pkgver}" - make install DESTDIR="${pkgdir}" + make test +} + +package() { + cd "${srcdir}/Net-UPnP-${pkgver}" - find ${pkgdir} -name '.packlist' -delete - find ${pkgdir} -name '*.pod' -delete + make install DESTDIR="${pkgdir}" + + # install license file + install -Dm644 "README" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -- cgit v0.12