[arch-commits] Commit in mod_perl/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Fri Oct 22 00:45:31 UTC 2010
Date: Thursday, October 21, 2010 @ 20:45:30
Author: allan
Revision: 96526
upgpkg: mod_perl 2.0.4-8
db-5.1 rebuild
Modified:
mod_perl/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-10-22 00:35:24 UTC (rev 96525)
+++ PKGBUILD 2010-10-22 00:45:30 UTC (rev 96526)
@@ -5,10 +5,10 @@
pkgname=mod_perl
_realname=mod_perl
pkgver=2.0.4
-pkgrel=7
+pkgrel=8
pkgdesc="Apache module that embeds the Perl interpreter within the server"
url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl=5.12.1' 'apache' 'db>=4.8' 'apr-util')
+depends=('perl=5.12.1' 'apache' 'db' 'apr-util')
license=('APACHE')
arch=('i686' 'x86_64')
options=(!emptydirs)
@@ -16,13 +16,9 @@
md5sums=('1a05625ae6843085f985f5da8214502a')
build() {
- cd ${startdir}/src/${_realname}-${pkgver}
+ cd ${srcdir}/${_realname}-${pkgver}
# install module in vendor directories.
- /usr/bin/perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/sbin/apxs || return 1
- /usr/bin/make || return 1
- /usr/bin/make install DESTDIR=${startdir}/pkg || return 1
-
- # remove perllocal.pod and .packlist.
- /usr/bin/find ${startdir}/pkg -name 'perllocal.pod' -delete
- /usr/bin/find ${startdir}/pkg -name '.packlist' -delete
+ perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/sbin/apxs
+ make
+ make install DESTDIR=${pkgdir}
}
More information about the arch-commits
mailing list