blob: 3759296e37f9af7fbbea3745db767cf74d05559c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: AUR Perl <aurperl@juster.info>
# Generator : CPANPLUS::Dist::Arch 1.15
pkgname=perl-yaml-tiny
pkgver=1.73
pkgrel=1
pkgdesc="Read/Write YAML files with as little code as possible"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
checkdepends=('perl-cpan-meta>=2.150001' 'perl-pod-coverage')
url='http://search.cpan.org/dist/YAML-Tiny'
source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/YAML-Tiny-$pkgver.tar.gz")
sha512sums=('5999e220025aa8076e5e0e9e73e80c2da21660e77f6744d73e8e29962221d02d33a36e9829c44abf7d4f45abae069d8e121c8019bd1600b7e64db5e54efd9987')
build() {
cd "${srcdir}/YAML-Tiny-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
check() {
cd "${srcdir}/YAML-Tiny-${pkgver}"
make test
}
package() {
cd "${srcdir}/YAML-Tiny-${pkgver}"
make install DESTDIR="${pkgdir}"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
# vim:set ts=2 sw=2 et:
|