[arch-commits] Commit in perl-file-type/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 12:08:54 UTC 2019


    Date: Saturday, May 25, 2019 @ 12:08:54
  Author: foutrelis
Revision: 470632

archrelease: copy trunk to community-staging-any

Added:
  perl-file-type/repos/community-staging-any/
  perl-file-type/repos/community-staging-any/PKGBUILD
    (from rev 470631, perl-file-type/trunk/PKGBUILD)

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

Copied: perl-file-type/repos/community-staging-any/PKGBUILD (from rev 470631, perl-file-type/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 12:08:54 UTC (rev 470632)
@@ -0,0 +1,25 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-file-type
+pkgver=0.22
+pkgrel=10
+pkgdesc="Perl/CPAN Module File::Type"
+arch=("any")
+url="https://search.cpan.org/dist/File-Type"
+license=("GPL" "PerlArtistic")
+source=("https://www.cpan.org/authors/id/P/PM/PMISON/File-Type-0.22.tar.gz")
+sha256sums=('d35cd95fef57fd4dfd8831f62c34e294d7c4b861fc909e02b76071739d52d341')
+
+build() {
+  cd "$srcdir"/File-Type-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir"/File-Type-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}


More information about the arch-commits mailing list