[arch-commits] Commit in perl-net-telnet/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 11:28:55 UTC 2021
Date: Monday, May 24, 2021 @ 11:28:55
Author: foutrelis
Revision: 944509
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 944506, perl-net-telnet/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: perl-net-telnet/repos/community-staging-any/PKGBUILD (from rev 944506, perl-net-telnet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 11:28:55 UTC (rev 944509)
@@ -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=7
+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