[arch-commits] Commit in (4 files)
Johannes Löthberg
demize at archlinux.org
Wed Aug 29 18:47:27 UTC 2018
Date: Wednesday, August 29, 2018 @ 18:47:26
Author: demize
Revision: 375172
Import perl-data-validate-ip
Added:
perl-data-validate-ip/
perl-data-validate-ip/repos/
perl-data-validate-ip/trunk/
perl-data-validate-ip/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Added: perl-data-validate-ip/trunk/PKGBUILD
===================================================================
--- perl-data-validate-ip/trunk/PKGBUILD (rev 0)
+++ perl-data-validate-ip/trunk/PKGBUILD 2018-08-29 18:47:26 UTC (rev 375172)
@@ -0,0 +1,29 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=perl-data-validate-ip
+pkgver=0.27
+pkgrel=2
+
+pkgdesc='IPv4 and IPv6 validation methods'
+license=('GPL' 'PerlArtistic')
+arch=('any')
+url="https://metacpan.org/release/Data-Validate-IP"
+
+depends=(perl perl-netaddr-ip)
+
+options=('!emptydirs' purge)
+
+source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Data-Validate-IP-$pkgver.tar.gz)
+
+sha256sums=('e1aa92235dcb9c6fd9b6c8cda184d1af73537cc77f4f83a0f88207a8bfbfb7d6')
+
+build() {
+ cd Data-Validate-IP-"$pkgver"
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd Data-Validate-IP-"$pkgver"
+ make install DESTDIR="$pkgdir"
+}
More information about the arch-commits
mailing list