diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-31 15:54:31 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-31 15:54:31 (GMT) |
commit | 709ef5d8222b49ec4b4b398530a7efaf1082b032 (patch) | |
tree | e7617c44b464ee4c32122d8448fa0d94ea67b6e6 /abs/core/perl_modules | |
parent | 7daee80f55aadf1e69395938f195c6910a5bc410 (diff) | |
download | linhes_pkgbuild-709ef5d8222b49ec4b4b398530a7efaf1082b032.zip linhes_pkgbuild-709ef5d8222b49ec4b4b398530a7efaf1082b032.tar.gz linhes_pkgbuild-709ef5d8222b49ec4b4b398530a7efaf1082b032.tar.bz2 |
perl-net-upnp: update to 1.4.3
Diffstat (limited to 'abs/core/perl_modules')
-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" } |