summaryrefslogtreecommitdiff
path: root/community/perl-data-structure-util/PKGBUILD
blob: d34c8ab222fb3cdfa821a1993850c3a7eeb36698 (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
# $Id: PKGBUILD 91662 2013-05-26 09:24:54Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-data-structure-util
pkgver=0.15
pkgrel=7
pkgdesc="Perl/CPAN Module Data::Structure::Util"
arch=("i686" "x86_64" 'mips64el')
url="http://search.cpan.org/dist/Data-Structure-Util"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/Data-Structure-Util-$pkgver.tar.gz")
md5sums=('e12ba777c0abfbd79a131de28d542359')

build() {
  cd $srcdir/Data-Structure-Util-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd $srcdir/Data-Structure-Util-$pkgver
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}