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

Evangelos Foutras foutrelis at archlinux.org
Sat Aug 26 11:30:41 UTC 2017


    Date: Saturday, August 26, 2017 @ 11:30:40
  Author: foutrelis
Revision: 253845

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 253844, perl-file-type/trunk/PKGBUILD)

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

Copied: perl-file-type/repos/community-staging-any/PKGBUILD (from rev 253844, perl-file-type/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-08-26 11:30:40 UTC (rev 253845)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-file-type
+pkgver=0.22
+pkgrel=8
+pkgdesc="Perl/CPAN Module File::Type"
+arch=("any")
+url="http://search.cpan.org/dist/File-Type"
+license=("GPL" "PerlArtistic")
+source=("http://www.cpan.org/authors/id/P/PM/PMISON/File-Type-0.22.tar.gz")
+md5sums=('4be3b0b7000b325c60351fcc8a04815d')
+
+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