[arch-commits] Commit in perl-net-http/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 09:51:13 UTC 2019
Date: Saturday, May 25, 2019 @ 09:51:13
Author: foutrelis
Revision: 354165
archrelease: copy trunk to staging-any
Added:
perl-net-http/repos/staging-any/
perl-net-http/repos/staging-any/PKGBUILD
(from rev 354164, perl-net-http/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: perl-net-http/repos/staging-any/PKGBUILD (from rev 354164, perl-net-http/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-05-25 09:51:13 UTC (rev 354165)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Justin "juster" Davis <jrcd83 at gmail.com>
+
+pkgname=perl-net-http
+pkgver=6.19
+pkgrel=2
+pkgdesc="Low-level HTTP connection (client)"
+arch=('any')
+url=https://search.cpan.org/dist/Net-HTTP
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+checkdepends=('perl-uri')
+conflicts=('perl-libwww<6')
+source=("https://cpan.metacpan.org/authors/id/O/OA/OALDERS/Net-HTTP-$pkgver.tar.gz")
+sha512sums=('85b139150d8608f7439ef2f975afe884c1f5220726d45603427510e39ad2003e20ea30ed1326b4ff20527c4e625262769a5abaa5ef320f1c26bf3f8eafc9cd1b')
+
+build() {
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor" \
+ PERL_MB_OPT="--installdirs vendor" \
+ MODULEBUILDRC=/dev/null
+
+ cd Net-HTTP-${pkgver}
+ /usr/bin/perl Makefile.PL
+ make
+}
+
+check() {
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ cd Net-HTTP-${pkgver}
+ make test
+}
+
+package() {
+ cd Net-HTTP-${pkgver}
+ make DESTDIR="$pkgdir" install
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list