updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-cgi-cookie-splitter / PKGBUILD
blob2f34fbdd33bd21465117f791c62fd8a8ba4590ff
1 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
2 pkgname=perl-cgi-cookie-splitter
3 pkgver=0.02
4 pkgrel=1
5 pkgdesc="Perl package to split big cookies into smaller ones"
6 arch=("any")
7 url="http://search.cpan.org/dist/CGI-Cookie-Splitter/"
8 license=("GPL" "PerlArtistic")
9 depends=("perl" "perl-cgi-simple")
10 makedepends=()                      # 'perl' provides 'perl-extutils-makemaker'
11 checkdepends=("perl-test-use-ok")   # 'perl' provides 'perl-test-simple'
12 options=(!emptydirs)
13 source=(http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/CGI-Cookie-Splitter-$pkgver.tar.gz)
14 md5sums=("0667729771df4aef5d56ee80fb44ac55")
16 build() {
17   cd "$srcdir/CGI-Cookie-Splitter-$pkgver"
18   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd "$srcdir/CGI-Cookie-Splitter-$pkgver"
24   make test
27 package() {
28   cd "$srcdir/CGI-Cookie-Splitter-$pkgver"
29   make install DESTDIR="$pkgdir"