# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Charles Mauch <cmauch@gmail.com>
pkgname=perl-yaml
pkgver=1.31
pkgrel=1
pkgdesc="Perl/CPAN Module YAML : YAML Aint Markup Language"
arch=('any')
url="https://search.cpan.org/dist/YAML/"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(https://www.cpan.org/authors/id/I/IN/INGY/YAML-${pkgver}.tar.gz)
sha512sums=('7f6af46348c4288541b611cb0d0f6d63a3d671417cadb3e9d60fed1c2c7664b35202b3ee8d15ef68400758604a3b2cb8a04c11b3e9badfd6f9222cf24f4a9edc')
build() {
cd YAML-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd YAML-${pkgver}
make DESTDIR="${pkgdir}" install
}