diff options
Diffstat (limited to 'abs/core/perl_modules/perl-net-upnp/PKGBUILD')
-rw-r--r-- | abs/core/perl_modules/perl-net-upnp/PKGBUILD | 26 |
1 files 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 <giovanni@archlinux.org> # Contributor: Drew Gilbert <gilbert dot drew at gmail dot com> 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" } |