archrelease: copy trunk to community-any
[arch-community.git] / perl-data-structure-util / trunk / PKGBUILD
blob281cc150697a392a1df079b087c03ae008813a76
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Charles Mauch <cmauch@gmail.com>
4 pkgname=perl-data-structure-util
5 pkgver=0.16
6 pkgrel=12
7 pkgdesc="Perl/CPAN Module Data::Structure::Util"
8 arch=("x86_64")
9 url="https://search.cpan.org/dist/Data-Structure-Util"
10 license=("GPL" "PerlArtistic")
11 source=("https://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/Data-Structure-Util-$pkgver.tar.gz")
12 sha256sums=('9cd42a13e65cb15f3a76296eb9a134da220168ec747c568d331a50ae7a2ddbc6')
14 build() {
15   cd "$srcdir"/Data-Structure-Util-$pkgver
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 package() {
21   cd "$srcdir"/Data-Structure-Util-$pkgver
22   make install DESTDIR="$pkgdir"
23   find "$pkgdir" -name '.packlist' -delete
24   find "$pkgdir" -name '*.pod' -delete