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

Felix Yan felixonmars at archlinux.org
Tue May 19 08:14:46 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:14:45
  Author: felixonmars
Revision: 386210

archrelease: copy trunk to staging-any

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

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

Copied: perl-mp3-info/repos/staging-any/PKGBUILD (from rev 386208, perl-mp3-info/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-19 08:14:45 UTC (rev 386210)
@@ -0,0 +1,30 @@
+#Maintainer:
+
+pkgname=perl-mp3-info
+pkgver=1.26
+pkgrel=4
+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=("https://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