blob: dcb3df9f9835e71d5499d8cdfa3e1d0ae3be2f12 (
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
|
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=perl-tree-dag-node
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=(https://www.cpan.org/authors/id/R/RS/RSAVAGE/Tree-DAG_Node-$pkgver.tgz)
sha256sums=('1c8ba69772568b3758054247097512c550efe31517c329fb65eef7afccc9d304')
build() {
cd "$srcdir"/Tree-DAG_Node-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir"/Tree-DAG_Node-$pkgver
make install DESTDIR="$pkgdir"
find "$pkgdir" -name '.packlist' -delete
find "$pkgdir" -name '*.pod' -delete
}
|