summaryrefslogtreecommitdiff
path: root/community/perl-digest-md5/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-digest-md5/PKGBUILD')
-rw-r--r--community/perl-digest-md5/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/perl-digest-md5/PKGBUILD b/community/perl-digest-md5/PKGBUILD
new file mode 100644
index 000000000..e813d9ea1
--- /dev/null
+++ b/community/perl-digest-md5/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 35628 2010-12-21 23:03:54Z tdziedzic $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Ashok `ScriptDevil` Gautham <ScriptDevil@gmail.com>
+
+pkgname=perl-digest-md5
+pkgver=2.40
+pkgrel=2
+pkgdesc="Digest::MD5::Perl - Perl implementation of Ron Rivests MD5 Algorithm"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Digest-MD5"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-MD5-$pkgver.tar.gz)
+md5sums=('97051183c4ff7012bdeaf55881164f4b')
+
+build() {
+ cd "$srcdir/Digest-MD5-$pkgver"
+
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make install DESTDIR="$pkgdir/"
+
+ # remove perllocal.pod and .packlist
+ find "$pkgdir" -name perllocal.pod -delete
+ find "$pkgdir" -name .packlist -delete
+}