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

Felix Yan felixonmars at archlinux.org
Sat May 25 08:57:10 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:57:10
  Author: felixonmars
Revision: 353990

archrelease: copy trunk to staging-any

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

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

Copied: perl-lwp-mediatypes/repos/staging-any/PKGBUILD (from rev 353989, perl-lwp-mediatypes/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 08:57:10 UTC (rev 353990)
@@ -0,0 +1,29 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-lwp-mediatypes
+pkgver=6.02
+pkgrel=6
+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