[arch-commits] Commit in perl-lwp-mediatypes/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 09:14:07 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:14:07
  Author: foutrelis
Revision: 330010

archrelease: copy trunk to staging-any

Added:
  perl-lwp-mediatypes/repos/staging-any/
  perl-lwp-mediatypes/repos/staging-any/PKGBUILD
    (from rev 330009, perl-lwp-mediatypes/trunk/PKGBUILD)

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

Copied: perl-lwp-mediatypes/repos/staging-any/PKGBUILD (from rev 330009, perl-lwp-mediatypes/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:14:07 UTC (rev 330010)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-lwp-mediatypes
+pkgver=6.02
+pkgrel=5
+pkgdesc="Guess the media type of a file or a URL"
+arch=('any')
+url="https://metacpan.org/release/LWP-MediaTypes"
+depends=('perl')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/LWP-MediaTypes-${pkgver}.tar.gz)
+sha1sums=('f56891f4e718a5f1f16f09ae37d32e454095cbed')
+
+build() {
+  cd "${srcdir}/LWP-MediaTypes-${pkgver}"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}/LWP-MediaTypes-${pkgver}"
+  make test
+}
+
+package() {
+  cd "${srcdir}/LWP-MediaTypes-${pkgver}"
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list