diff options
author | Britney Fransen <brfransen@gmail.com> | 2022-11-11 22:32:00 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2022-11-11 22:32:00 (GMT) |
commit | 6bcee8483b42e3ad2e00497c1ee515ad6e273c4f (patch) | |
tree | 88272a0d4149aad46b43711569312e424ba4bf5b /linhes/perl-net-upnp | |
parent | ce6e2387c69ff65ad2aa32e32f03a9ff797559c5 (diff) | |
download | linhes_pkgbuild-6bcee8483b42e3ad2e00497c1ee515ad6e273c4f.zip linhes_pkgbuild-6bcee8483b42e3ad2e00497c1ee515ad6e273c4f.tar.gz linhes_pkgbuild-6bcee8483b42e3ad2e00497c1ee515ad6e273c4f.tar.bz2 |
perl-net-upnp: 1.4.6
Diffstat (limited to 'linhes/perl-net-upnp')
-rw-r--r-- | linhes/perl-net-upnp/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/linhes/perl-net-upnp/PKGBUILD b/linhes/perl-net-upnp/PKGBUILD new file mode 100644 index 0000000..929c018 --- /dev/null +++ b/linhes/perl-net-upnp/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Matt Harrison <matt@harrison.us.com> +# Maintained at: https://github.com/matt-h/aur-pkgbuilds +# Contributor: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Drew Gilbert <gilbert dot drew at gmail dot com> + +pkgname=perl-net-upnp +pkgver=1.4.6 +pkgrel=1 +pkgdesc="Perl Module UPnP" +arch=('x86_64') +url="https://metacpan.org/release/Net-UPnP" +license=('BSD' 'PerlArtistic') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/S/SK/SKONNO/Net-UPnP-$pkgver.tar.gz") +depends=('perl') +sha256sums=('10ae135a8f72d399501166bc697a3b300fb739a6614aa54408e4e08bec1e91dc') + +build() { + cd "${srcdir}/Net-UPnP-${pkgver}" + + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/Net-UPnP-${pkgver}" + + make test +} + +package() { + cd "${srcdir}/Net-UPnP-${pkgver}" + + make install DESTDIR="${pkgdir}" + + # install license file + install -Dm644 "README" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |