# Automatically generated by apkbuild-cpan, template 1 # Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=perl-tree-dag_node _pkgreal=Tree-DAG_Node pkgver=1.18 pkgrel=1 pkgdesc="(super)class for representing nodes in a tree" url="http://search.cpan.org/dist/Tree-DAG_Node/" arch="noarch" license="GPL PerlArtistic" cpandepends="" cpanmakedepends="perl-file-slurp perl-pathtools perl-file-temp" 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="d336e9d3141154fe152271e2f504a57a Tree-DAG_Node-1.18.tgz" sha256sums="3ac131914ac6e8a26c1629faacce2130a938c49183840b69ea210621edb810d2 Tree-DAG_Node-1.18.tgz" sha512sums="9f4cc654d9a9dc95ed7541213d7d7ec1b740accaf61580e51ef12a2fb013b356fb21d2eeb02c7ad320dfb03f2e27be6298f1f95f2013ca3d1cb1bbcb24f838d8 Tree-DAG_Node-1.18.tgz"