summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-package-stash/PKGBUILD
blob: c50f3a98e22e9a5ef75daf743f5f30420649a16d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Jonathan Steel <jsteel@aur.archlinux.org>
# Contributor: Justin Davis <jrcd83@gmail.com>

pkgname=perl-package-stash
pkgver=0.37
pkgrel=4
pkgdesc="Routines for manipulating stashes"
arch=('any')
url="http://search.cpan.org/dist/Package-Stash"
license=('PerlArtistic' 'GPL')
depends=('perl-dist-checkconflicts' 'perl-package-stash-xs' 'perl-module-implementation')
checkdepends=('perl-test-fatal' 'perl-test-requires')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-$pkgver.tar.gz)
sha1sums=('43fc4e362ac1a45eb27fe779806cbd96c891e2dc')

build() {
  cd Package-Stash-$pkgver
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd Package-Stash-$pkgver
  make test
}

package() {
  cd Package-Stash-$pkgver
  make DESTDIR="$pkgdir" install
}