[arch-commits] Commit in perl-net-ip-minimal/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 09:08:56 UTC 2019
Date: Saturday, May 25, 2019 @ 09:08:56
Author: felixonmars
Revision: 470015
archrelease: copy trunk to community-staging-any
Added:
perl-net-ip-minimal/repos/community-staging-any/
perl-net-ip-minimal/repos/community-staging-any/PKGBUILD
(from rev 470013, perl-net-ip-minimal/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: perl-net-ip-minimal/repos/community-staging-any/PKGBUILD (from rev 470013, perl-net-ip-minimal/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 09:08:56 UTC (rev 470015)
@@ -0,0 +1,25 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-net-ip-minimal
+pkgver=0.06
+pkgrel=5
+pkgdesc="Perl/CPAN Module Net::IP::Minimal"
+arch=(any)
+url="https://search.cpan.org/dist/Net-IP-Minimal"
+license=("GPL" "PerlArtistic")
+depends=("perl")
+source=("https://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Net-IP-Minimal-$pkgver.tar.gz")
+md5sums=('249981458e9502b877145153dac3b9cf')
+
+build() {
+ cd "$srcdir"/Net-IP-Minimal-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/Net-IP-Minimal-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list