PKGBUILDs/community/perl-cache-memcached/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
902 B
Bash

# $Id: PKGBUILD 3606 2009-10-06 19:50:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>
# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-cache-memcached
pkgver=1.27
pkgrel=1
pkgdesc="client library for memcached (memory cache daemon) "
arch=(any)
url="http://search.cpan.org/dist/Cache-Memcached"
license=('GPL' 'PerlArtistic')
depends=('perl-string-crc32')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/B/BR/BRADFITZ/Cache-Memcached-$pkgver.tar.gz)
md5sums=('897dbe9b24b4f918e2368c987425797c')
build() {
cd $startdir/src/Cache-Memcached-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make pure_install doc_install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}