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

Felix Yan felixonmars at archlinux.org
Mon May 24 08:35:10 UTC 2021


    Date: Monday, May 24, 2021 @ 08:35:10
  Author: felixonmars
Revision: 416006

archrelease: copy trunk to staging-any

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

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

Copied: perl-lwp-mediatypes/repos/staging-any/PKGBUILD (from rev 416005, perl-lwp-mediatypes/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 08:35:10 UTC (rev 416006)
@@ -0,0 +1,29 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-lwp-mediatypes
+pkgver=6.02
+pkgrel=9
+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=(https://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