mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
954 B
Bash
29 lines
954 B
Bash
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
|
|
# Maintainer: eric <eric@archlinux.org>
|
|
# Contributor: Eric Johnson <eric@coding-zone.com>
|
|
|
|
pkgname=perl-appconfig
|
|
_realname=AppConfig
|
|
pkgver=1.66
|
|
pkgrel=2
|
|
pkgdesc="Perl/CPAN AppConfig module - Read configuration files and parse command line arguments"
|
|
arch=(i686 x86_64)
|
|
license=('PerlArtistic' 'GPL')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('perl>=5.10.0')
|
|
options=(!emptydirs)
|
|
source=(http://www.cpan.org/authors/id/A/AB/ABW/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('21aa4d1bf70a49a94c2dc9293389b3a0')
|
|
|
|
build() {
|
|
cd ${startdir}/src/${_realname}-${pkgver}
|
|
# install module in vendor directories.
|
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=${startdir}/pkg || return 1
|
|
|
|
# remove perllocal.pod and .packlist
|
|
find ${startdir}/pkg -name perllocal.pod -delete
|
|
find ${startdir}/pkg -name .packlist -delete
|
|
}
|
|
# vim: ts=2 sw=2 et ft=sh
|