PKGBUILDs/community/perl-tree-dag-node/PKGBUILD

23 lines
750 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=perl-tree-dag-node
pkgver=1.06
pkgrel=1
pkgdesc="base class for trees"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~COGENT/Tree-DAG_Node"
license=('GPL' 'PerlArtistic')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/C/CO/COGENT/Tree-DAG_Node-$pkgver.tar.gz)
md5sums=('3b006f128bd1d8961fc57c466ffa05f2')
build() {
cd $startdir/src/Tree-DAG_Node-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}