updated on Sat Jan 21 08:01:15 UTC 2012
[aur-mirror.git] / perl-apache-admin-config / PKGBUILD
blob5dede7b548e5ffb0e7798fff396a6783ce9b59bc
1 # Contributor: d'Ronin <daronin@2600.com>
3 pkgname=perl-apache-admin-config
4 pkgver=0.94
5 pkgrel=1
6 pkgdesc="A perl module to read/write Apache like configuration files."
7 depends=('perl' 'glibc' 'apache')
8 license=('GPL' 'PerlArtistic')
9 url="http://cpan.org/modules/by-module/Apache"
10 source=(http://cpan.org/modules/by-module/Apache/Apache-Admin-Config-$pkgver.tar.gz)
11 md5sums=('16c3f841580e0f58a98ce42704f5e84f')
12 options=('!emptydirs')
13 arch=(i686 x86_64)
14 build()
16   cd $startdir/src/Apache-Admin-Config-$pkgver
18   perl Makefile.PL || return 1
19   make || return 1
20   make DESTDIR=$startdir/pkg install || return 1
22   # Change installation directory to current and remove directory that contains perllocal.pod
23   mv $startdir/pkg/usr/lib/perl5/site_perl/?.?.? $startdir/pkg/usr/lib/perl5/site_perl/current
24   rm -r $startdir/pkg/usr/lib/perl5/?.?.?