summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-class-inspector/PKGBUILD
blob: ca242264f42ba3856f73f687b4054f101af4e080 (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
# $Id$
# Maintainer:

pkgname=perl-class-inspector
pkgver=1.32
pkgrel=3
pkgdesc="Get information about a class and its structure"
arch=('any')
url="http://search.cpan.org/dist/Class-Inspector"
license=('PerlArtistic' 'GPL')
depends=('perl')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Class-Inspector-${pkgver}.tar.gz")
sha512sums=('980654614d968e2fb61df864322f5c5248e352f0697a425539600c3549505f47b857d7856bc9d406ebc8757f8fc379a669f1f5085412f6fa48672c9db8a82df4')

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

check() {
  cd Class-Inspector-${pkgver}
  make test
}

package() {
  cd Class-Inspector-${pkgver}
  make DESTDIR="$pkgdir" install
}