# Maintainer: Natanael Copa pkgname=perl-snmp-session pkgver=1.16 pkgrel=1 pkgdesc="A SNMP Perl Module" url="https://github.com/sleinen/snmp-session" arch="noarch" license="PerlArtistic" options="!check" # no testsuite depends="perl" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/sleinen/snmp-session/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/snmp-session-$pkgver" build() { perl Makefile.PL INSTALLDIRS=vendor make MAN1EXT=1p MAN3EXT=3pm } package() { make install MAN1EXT=1p MAN3EXT=3pm DESTDIR="$pkgdir" find "$pkgdir" -name perllocal.pod -delete find "$pkgdir" -name .packlist -delete } sha512sums=" fa0baa4423088198ea533d432118ab4760540416673ef72ae13ad9544f76ebccb42ae274337a392be33c74ed682e623d9f77ce43cadb9d2c9bf401b404583e4e perl-snmp-session-1.16.tar.gz "