desktop/perl-archive-zip/PKGBUILD
2011-04-03 12:41:32 +02:00

39 lines
968 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-archive-zip
_pkgname=Archive-Zip
pkgver=1.31_02
pkgrel=1
pkgdesc="Perl module to create, manipulate, read, and write Zip archive files."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
url='http://search.cpan.org/~adamk/Archive-Zip/'
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgname-$pkgver.tar.gz")
md5sums=('357725f70a98aa361598ac595af9599f')
build() {
cd $srcdir/$_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make install DESTDIR="$pkgdir/"
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}