diff options
Diffstat (limited to 'perl-net-imap-simple')
-rwxr-xr-x | perl-net-imap-simple/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/perl-net-imap-simple/PKGBUILD b/perl-net-imap-simple/PKGBUILD new file mode 100755 index 0000000..003a904 --- /dev/null +++ b/perl-net-imap-simple/PKGBUILD @@ -0,0 +1,27 @@ +pkgname=perl-net-imap-simple +_realname=Net-IMAP-Simple +pkgver=1.2022 +pkgrel=1 +pkgdesc="Net::IMAP::Simple - a simple IMAP access library" +arch=(i686 x86_64) +license=('GPL' 'PerlArtistic') +url="http://search.cpan.org/dist/${_realname}/" +depends=('perl>=5.10.0') +options=(!emptydirs) +replaces=('net-imap-simple') +provides=('net-imap-simple') +source=(http://search.cpan.org/CPAN/authors/id/J/JE/JETTERO/Net-IMAP-Simple-${pkgver}.tar.gz) +md5sums=('b8bfa6b7452f84777567a65269b04dc5') + +build() { + cd ${startdir}/src/${_realname}-${pkgver} + # install module in vendor directories. + yes n | 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 +} + |