[arch-commits] Commit in perl-http-lite/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 12:58:06 UTC 2020
Date: Tuesday, July 7, 2020 @ 12:58:06
Author: felixonmars
Revision: 658303
archrelease: copy trunk to community-staging-any
Added:
perl-http-lite/repos/community-staging-any/
perl-http-lite/repos/community-staging-any/PKGBUILD
(from rev 658301, perl-http-lite/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: perl-http-lite/repos/community-staging-any/PKGBUILD (from rev 658301, perl-http-lite/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 12:58:06 UTC (rev 658303)
@@ -0,0 +1,26 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-http-lite
+pkgver=2.44
+pkgrel=4
+pkgdesc="Perl/CPAN Module HTTP::Lite"
+arch=(any)
+url="https://search.cpan.org/dist/HTTP-Lite"
+license=("GPL" "PerlArtistic")
+options=(!emptydirs)
+source=("https://search.cpan.org/CPAN/authors/id/N/NE/NEILB/HTTP-Lite-$pkgver.tar.gz")
+md5sums=('426aaeed6937ff01a4891357500cdeba')
+
+build() {
+ cd "$srcdir"/HTTP-Lite-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/HTTP-Lite-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list