[arch-commits] Commit in perl-net-snmp/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 11:55:24 UTC 2018
Date: Wednesday, August 1, 2018 @ 11:55:23
Author: bluewind
Revision: 366573
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 366572, perl-net-snmp/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: perl-net-snmp/repos/community-staging-any/PKGBUILD (from rev 366572, perl-net-snmp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 11:55:23 UTC (rev 366573)
@@ -0,0 +1,27 @@
+# $Id$
+# 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=6
+pkgdesc="Perl interface to SNMP"
+arch=('any')
+url="http://search.cpan.org/dist/Net-SNMP"
+license=("PerlArtistic")
+depends=('perl' 'perl-digest-hmac' 'perl-digest-sha1' 'perl-crypt-des')
+source=(http://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