summaryrefslogtreecommitdiff
path: root/community-testing
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-03 22:47:36 +0000
committerroot <root@rshg047.dnsready.net>2011-06-03 22:47:36 +0000
commit805d577f46f94e747f712b7c942f595cd8f7e170 (patch)
tree9a708cc4fdc41336d9747a861d194b6c98caa5e4 /community-testing
parent2d8c4c44185a682290ccde4d23132ae3acf01678 (diff)
Fri Jun 3 22:47:36 UTC 2011
Diffstat (limited to 'community-testing')
-rw-r--r--community-testing/perl-digest-md5/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community-testing/perl-digest-md5/PKGBUILD b/community-testing/perl-digest-md5/PKGBUILD
new file mode 100644
index 000000000..c0d7a1512
--- /dev/null
+++ b/community-testing/perl-digest-md5/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 48561 2011-06-02 06:48:37Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Ashok `ScriptDevil` Gautham <ScriptDevil@gmail.com>
+
+pkgname=perl-digest-md5
+pkgver=2.51
+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=('73967d50b9d19990a1d609fe2b1e36c3')
+
+build() {
+ cd "$srcdir/Digest-MD5-$pkgver"
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir/Digest-MD5-$pkgver"
+ make install DESTDIR="$pkgdir/"
+ # remove perllocal.pod and .packlist
+ find "$pkgdir" -name perllocal.pod -delete
+ find "$pkgdir" -name .packlist -delete
+}