[arch-commits] Commit in perl-net-telnet/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 11:36:43 UTC 2019
Date: Saturday, May 25, 2019 @ 11:36:43
Author: felixonmars
Revision: 470390
archrelease: copy trunk to community-staging-any
Added:
perl-net-telnet/repos/community-staging-any/
perl-net-telnet/repos/community-staging-any/PKGBUILD
(from rev 470389, perl-net-telnet/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: perl-net-telnet/repos/community-staging-any/PKGBUILD (from rev 470389, perl-net-telnet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 11:36:43 UTC (rev 470390)
@@ -0,0 +1,25 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-net-telnet
+pkgver=3.04
+pkgrel=5
+pkgdesc="Perl/CPAN Module Net::Telnet : Interact with TELNET port or other TCP ports"
+arch=("any")
+url="https://search.cpan.org/dist/Net-Telnet"
+license=("GPL" "PerlArtistic")
+source=("https://www.cpan.org/authors/id/J/JR/JROGERS/Net-Telnet-$pkgver.tar.gz")
+sha256sums=('e64d567a4e16295ecba949368e7a6b8b5ae2a16b3ad682121d9b007dc5d2a37a')
+
+build() {
+ cd "$srcdir"/Net-Telnet-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/Net-Telnet-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list