summaryrefslogtreecommitdiffstats
path: root/perl-net-imap-simple
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-10-23 22:01:53 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-10-23 22:02:18 +0200
commitebc82b27288df5c58194083ead4a6e6de7f52d21 (patch)
tree30d4e874cc19a03dfc62a0ee7c6c5e6c9756d4ec /perl-net-imap-simple
parent44c6e7dfa4967843b05ee961fd243f655ed31717 (diff)
downloadaur-packages-ebc82b27288df5c58194083ead4a6e6de7f52d21.tar.gz
aur-packages-ebc82b27288df5c58194083ead4a6e6de7f52d21.tar.xz
mass update (again :( )
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'perl-net-imap-simple')
-rwxr-xr-xperl-net-imap-simple/PKGBUILD27
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
+}
+