diff options
Diffstat (limited to 'abs/core/perl_modules/perl-tree-dag-node/PKGBUILD')
-rw-r--r-- | abs/core/perl_modules/perl-tree-dag-node/PKGBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/abs/core/perl_modules/perl-tree-dag-node/PKGBUILD b/abs/core/perl_modules/perl-tree-dag-node/PKGBUILD index f5c7216..dcb3df9 100644 --- a/abs/core/perl_modules/perl-tree-dag-node/PKGBUILD +++ b/abs/core/perl_modules/perl-tree-dag-node/PKGBUILD @@ -1,23 +1,28 @@ -# $Id: PKGBUILD 65974 2012-02-22 14:07:15Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=perl-tree-dag-node -pkgver=1.06 -pkgrel=3 +pkgver=1.31 +pkgrel=1 pkgdesc="base class for trees" arch=('any') url="http://search.cpan.org/dist/Tree-DAG_Node" license=('GPL' 'PerlArtistic') +depends=('perl-file-slurp-tiny') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/C/CO/COGENT/Tree-DAG_Node-$pkgver.tar.gz) -md5sums=('3b006f128bd1d8961fc57c466ffa05f2') +source=(https://www.cpan.org/authors/id/R/RS/RSAVAGE/Tree-DAG_Node-$pkgver.tgz) +sha256sums=('1c8ba69772568b3758054247097512c550efe31517c329fb65eef7afccc9d304') build() { - cd $srcdir/Tree-DAG_Node-$pkgver + cd "$srcdir"/Tree-DAG_Node-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete +} + +package() { + cd "$srcdir"/Tree-DAG_Node-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } |