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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 11:42:53 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:42:52
  Author: foutrelis
Revision: 354243

archrelease: copy trunk to staging-any

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

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

Copied: perl-mp3-info/repos/staging-any/PKGBUILD (from rev 354242, perl-mp3-info/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 11:42:52 UTC (rev 354243)
@@ -0,0 +1,30 @@
+#Maintainer:
+
+pkgname=perl-mp3-info
+pkgver=1.26
+pkgrel=3
+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