upgpkg: ocaml-ctypes 0.20.2-1
[arch-packages.git] / perl-mp3-info / trunk / PKGBUILD
blobf5ed39c0cfb464284e4f8dcf0bc2cf770cc2cb16
1 #Maintainer:
3 pkgname=perl-mp3-info
4 pkgver=1.26
5 pkgrel=7
6 pkgdesc="Manipulate / fetch info from MP3 audio files"
7 arch=('any')
8 url="https://metacpan.org/release/MP3-Info"
9 license=('PerlArtistic' 'GPL')
10 depends=('perl')
11 options=('!emptydirs')
12 source=("https://search.cpan.org/CPAN/authors/id/J/JM/JMERELO/MP3-Info-${pkgver}.tar.gz")
13 sha512sums=('79f9f9bd9feda075cd8a0db80debdcc03092706834475fc6b6047e00dd282855509d5752fd2b61ae5901c2f74f00f18b0e6c9d733b54a84ea55b6afa0c9e5741')
15 build() {
16   cd "${srcdir}/MP3-Info-${pkgver}"
17   PERL_USE_UNSAFE_INC=1 \
18   perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd "${srcdir}/MP3-Info-${pkgver}"
24   make test
27 package() {
28   cd "${srcdir}/MP3-Info-${pkgver}"
29   make DESTDIR="$pkgdir" install