aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-tree-dag_node/APKBUILD
blob: 9eb2b84107d6a410997182ace650060a32540a19 (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.26
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="c6c0056982a5642b343288264d3a7d75  Tree-DAG_Node-1.26.tgz"
sha256sums="c7ada734a50bf4fb75de5e12f2317b2c8baeda514931def48857ff86051ce0cd  Tree-DAG_Node-1.26.tgz"
sha512sums="226f824d46ad49362ffb12cc2eb9020891562f7fa85be4f8e382ebf5fe5c1c85c843ab45a5b63429120d9b75a698ba09d9497eaabc2b6c29bff0ef6681241259  Tree-DAG_Node-1.26.tgz"