[arch-commits] Commit in perl-http-cache-transparent/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Jun 1 19:04:22 UTC 2017


    Date: Thursday, June 1, 2017 @ 19:04:21
  Author: felixonmars
Revision: 232564

archrelease: copy trunk to community-staging-any

Added:
  perl-http-cache-transparent/repos/community-staging-any/
  perl-http-cache-transparent/repos/community-staging-any/PKGBUILD
    (from rev 232563, perl-http-cache-transparent/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: perl-http-cache-transparent/repos/community-staging-any/PKGBUILD (from rev 232563, perl-http-cache-transparent/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 19:04:21 UTC (rev 232564)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Allan McRae <mcrae_allan at hotmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-http-cache-transparent
+pkgver=1.4
+pkgrel=2
+pkgdesc="Cache the result of http-gets persistently"
+arch=('any')
+url="http://search.cpan.org/dist/HTTP-Cache-Transparent"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0' 'perl-libwww')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/M/MA/MATTIASH/HTTP-Cache-Transparent-$pkgver.tar.gz)
+sha256sums=('6622e1b5e5af952b1711aea247bdcb1b91c2aac0f11f32f819a2d07e11dd2845')
+
+build() {
+  cd  "$srcdir"/HTTP-Cache-Transparent-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/HTTP-Cache-Transparent-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list