aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-yaml/APKBUILD
blob: 6aae6e8ab79a8f8ce0aefe951178ba02d8e4f0e9 (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
37
38
39
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-yaml
_pkgreal=YAML
pkgver=0.84
pkgrel=0
pkgdesc="YAML Ain't Markup Language (tm)"
url="http://search.cpan.org/dist/YAML/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$_builddir"
	make && make test
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="3644f03e3da5d99158963c6613f5ff92  YAML-0.84.tar.gz"
sha256sums="0a351f0a771526ca4a448c573a781614debdd5296fd0832396fc89f1854d640c  YAML-0.84.tar.gz"
sha512sums="e892db21b94e374fdada74c8cb36a4c7a565fc935c8e1a81301f4820d34a26990e6aefe6e3e3d5386a54f29a1a758695bcd1e151b8d6f82fe8f558005a669f0f  YAML-0.84.tar.gz"