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

Florian Pritz bluewind at archlinux.org
Wed Aug 1 12:27:56 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:27:55
  Author: bluewind
Revision: 330241

archrelease: copy trunk to staging-any

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

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

Copied: perl-mp3-info/repos/staging-any/PKGBUILD (from rev 330240, perl-mp3-info/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 12:27:55 UTC (rev 330241)
@@ -0,0 +1,31 @@
+# $Id$
+#Maintainer:
+
+pkgname=perl-mp3-info
+pkgver=1.26
+pkgrel=2
+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/J/JM/JMERELO/MP3-Info-${pkgver}.tar.gz")
+sha512sums=('79f9f9bd9feda075cd8a0db80debdcc03092706834475fc6b6047e00dd282855509d5752fd2b61ae5901c2f74f00f18b0e6c9d733b54a84ea55b6afa0c9e5741')
+
+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