aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-tree-dag_node/APKBUILD
blob: 01385973bddd871a601a3e1d9f29a0d7137a9333 (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: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-tree-dag_node
_pkgreal=Tree-DAG_Node
pkgver=1.23
pkgrel=0
pkgdesc="An N-ary tree"
url="http://search.cpan.org/dist/Tree-DAG_Node/"
arch="noarch"
license="Artistic-2"
cpandepends="perl-file-slurp-tiny"
cpanmakedepends="   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Tree-DAG_Node-$pkgver.tgz"

_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="9ffd06427ed6d173c0dd2d2e10a18e56  Tree-DAG_Node-1.23.tgz"
sha256sums="41146eea7256da0f35d481105ac1e55f8ba79eceabde786575eed5396700cbc0  Tree-DAG_Node-1.23.tgz"
sha512sums="d9975426ace268e6b723d5cf5b64551d8de60300c9b2122bf6d597f704353aec1c18474a158efd38729f76051fce869c3cfab6212e1c4babbe06978792084f1b  Tree-DAG_Node-1.23.tgz"