diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/perl_modules/perl-class-factory-util/PKGBUILD | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/abs/core/perl_modules/perl-class-factory-util/PKGBUILD b/abs/core/perl_modules/perl-class-factory-util/PKGBUILD index c9da049..e5a10b9 100644 --- a/abs/core/perl_modules/perl-class-factory-util/PKGBUILD +++ b/abs/core/perl_modules/perl-class-factory-util/PKGBUILD @@ -1,31 +1,31 @@ -# $Id: PKGBUILD 65743 2012-02-22 12:12:49Z spupykin $ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=perl-class-factory-util -_realname=Class-Factory-Util pkgver=1.7 -pkgrel=4 +pkgrel=8 pkgdesc="Provide utility methods for factory classes" -arch=(i686 x86_64) -license=('GPL' 'Artistic') -url="http://search.cpan.org/~drolsky/Class-Factory-Util" +arch=(any) +license=('GPL' 'PerlArtistic') +url="http://search.cpan.org/dist/Class-Factory-Util/" options=(!emptydirs) depends=('perl') -provides=('class-factory-util=1.7' 'Class::Factory::Util=1.7' 'perl-class-factory-util=1.7') +makedepends=('perl-module-build') source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Factory-Util-1.7.tar.gz) md5sums=('aebd79da361b676a7ecd3245fc3d1b3f') build() { - cd ${srcdir}/${_realname}-${pkgver} + cd "$srcdir"/Class-Factory-Util-${pkgver} # install module in vendor directories. PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd ${srcdir}/${_realname}-${pkgver} - make install DESTDIR=${pkgdir} + cd "$srcdir"/Class-Factory-Util-${pkgver} + make install DESTDIR="$pkgdir" # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + find "$pkgdir" -name perllocal.pod -delete + find "$pkgdir" -name .packlist -delete } |