summaryrefslogtreecommitdiffstats
path: root/perl-net-imap-simple/PKGBUILD
blob: 003a904d554e95025378ad64c5f7dfffc6f6c7b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}