[arch-commits] Commit in perl-net-snmp/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 16:22:04 UTC 2020


    Date: Sunday, June 21, 2020 @ 16:22:03
  Author: felixonmars
Revision: 649753

archrelease: copy trunk to community-staging-any

Added:
  perl-net-snmp/repos/community-staging-any/
  perl-net-snmp/repos/community-staging-any/PKGBUILD
    (from rev 649752, perl-net-snmp/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: perl-net-snmp/repos/community-staging-any/PKGBUILD (from rev 649752, perl-net-snmp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 16:22:03 UTC (rev 649753)
@@ -0,0 +1,26 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=perl-net-snmp
+pkgver=6.0.1
+pkgrel=8
+pkgdesc="Perl interface to SNMP"
+arch=('any')
+url="https://search.cpan.org/dist/Net-SNMP"
+license=("PerlArtistic")
+depends=('perl' 'perl-digest-hmac' 'perl-digest-sha1' 'perl-crypt-des')
+source=(https://search.cpan.org/CPAN/authors/id/D/DT/DTOWN/Net-SNMP-v$pkgver.tar.gz)
+md5sums=('6137f04f9942d703f66179f890e3d096')
+
+build() {
+  cd "$srcdir"/Net-SNMP-v$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir"/Net-SNMP-v$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list