[arch-commits] Commit in perl-error/trunk (PKGBUILD)
Daniel Griffiths
dgriffiths at archlinux.org
Sun May 2 00:43:53 UTC 2010
Date: Saturday, May 1, 2010 @ 20:43:52
Author: dgriffiths
Revision: 79211
FS#19312
Modified:
perl-error/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-05-01 20:31:55 UTC (rev 79210)
+++ PKGBUILD 2010-05-02 00:43:52 UTC (rev 79211)
@@ -8,7 +8,7 @@
pkgrel=1
pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way"
url="http://search.cpan.org/dist/${_realname}/"
-arch=(i686 x86_64)
+arch=(any)
license=('PerlArtistic' 'GPL')
depends=('perl>=5.10.0')
options=('!emptydirs')
@@ -16,13 +16,13 @@
md5sums=('eedcd3c6970568dd32092b5334328eff')
build() {
- cd ${startdir}/src/${_realname}-${pkgver}
+ cd ${srcdir}/${_realname}-${pkgver}
# install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
- make install DESTDIR=${startdir}/pkg || return 1
+ make install DESTDIR=${pkgdir} || return 1
# remove perllocal.pod and .packlist
- find ${startdir}/pkg -name perllocal.pod -delete
- find ${startdir}/pkg -name .packlist -delete
+ find ${pkgdir} -name perllocal.pod -delete
+ find ${pkgdir} -name .packlist -delete
}
More information about the arch-commits
mailing list