[arch-commits] Commit in perl-mp3-info/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Jun 1 09:44:39 UTC 2017


    Date: Thursday, June 1, 2017 @ 09:44:37
  Author: felixonmars
Revision: 297180

archrelease: copy trunk to staging-any

Added:
  perl-mp3-info/repos/staging-any/
  perl-mp3-info/repos/staging-any/PKGBUILD
    (from rev 297179, perl-mp3-info/trunk/PKGBUILD)

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

Copied: perl-mp3-info/repos/staging-any/PKGBUILD (from rev 297179, perl-mp3-info/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2017-06-01 09:44:37 UTC (rev 297180)
@@ -0,0 +1,31 @@
+# $Id$
+#Maintainer:
+
+pkgname=perl-mp3-info
+pkgver=1.24
+pkgrel=5
+pkgdesc="Manipulate / fetch info from MP3 audio files"
+arch=('any')
+url="https://metacpan.org/release/MP3-Info"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/MP3-Info-${pkgver}.tar.gz")
+sha1sums=('19f7101703c07db3a3fbe9aed4726134d41bcdb9')
+
+build() {
+  cd "${srcdir}/MP3-Info-${pkgver}"
+  PERL_USE_UNSAFE_INC=1 \
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}/MP3-Info-${pkgver}"
+  make test
+}
+
+package() {
+  cd "${srcdir}/MP3-Info-${pkgver}"
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list