mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
25 lines
896 B
Bash
25 lines
896 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Maintainer: Charles Mauch <cmauch@gmail.com>
|
|
# Contributor: Francois Charette <firmicus@gmx.net>
|
|
|
|
pkgname=perl-class-autouse
|
|
pkgver=1.29
|
|
pkgrel=2
|
|
pkgdesc="Run-time load a class the first time you call a method in it. "
|
|
arch=('i686' 'x86_64')
|
|
url="http://search.cpan.org/dist/Class-Autouse"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl')
|
|
options=('!emptydirs')
|
|
source=(http://www.cpan.org/authors/id/A/AD/ADAMK/Class-Autouse-$pkgver.tar.gz)
|
|
md5sums=('da37cc729e01a504b93bc8bdc548d9a9')
|
|
|
|
build() {
|
|
cd $startdir/src/Class-Autouse-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make pure_install doc_install DESTDIR=$startdir/pkg || return 1
|
|
find $startdir/pkg -name '.packlist' -delete
|
|
find $startdir/pkg -name '*.pod' -delete
|
|
}
|