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

Florian Pritz bluewind at archlinux.org
Thu Jun 1 08:47:46 UTC 2017


    Date: Thursday, June 1, 2017 @ 08:47:45
  Author: bluewind
Revision: 231786

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-file-mmagic/repos/community-staging-any/PKGBUILD (from rev 231785, perl-file-mmagic/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 08:47:45 UTC (rev 231786)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-file-mmagic
+pkgver=1.30
+pkgrel=3
+pkgdesc="Guess file type"
+arch=(any)
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/File-MMagic"
+depends=('perl')
+options=(!emptydirs)
+source=("http://search.cpan.org/CPAN/authors/id/K/KN/KNOK/File-MMagic-${pkgver}.tar.gz")
+md5sums=('a0157c71d5872fa07102a2ffaf7979ec')
+
+build() {
+  cd "${srcdir}/File-MMagic-${pkgver}"
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "${srcdir}/File-MMagic-${pkgver}"
+  make install DESTDIR="${pkgdir}"
+
+  # remove perllocal.pod and .packlist
+  find "${pkgdir}" -name perllocal.pod -delete
+  find "${pkgdir}" -name .packlist -delete
+}



More information about the arch-commits mailing list