archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-class-inspector / repos / extra-any / PKGBUILD
blob7c98143dbe1fe407574783296f483dae38d66d1f
1 # Maintainer:
3 pkgname=perl-class-inspector
4 pkgver=1.36
5 pkgrel=5
6 pkgdesc="Get information about a class and its structure"
7 arch=('any')
8 url="https://search.cpan.org/dist/Class-Inspector"
9 license=('PerlArtistic' 'GPL')
10 depends=('perl')
11 options=('!emptydirs')
12 source=("https://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Class-Inspector-${pkgver}.tar.gz")
13 sha512sums=('488fcdbc9d135ed833331b0d5feb452997f35400b185341be69996438c278961eeb543648a629940765e779ca5cc87c5c3aa2c61a7fac12d2ecf6c599b68715a')
15 build() {
16   cd Class-Inspector-${pkgver}
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd Class-Inspector-${pkgver}
23   make test
26 package() {
27   cd Class-Inspector-${pkgver}
28   make DESTDIR="$pkgdir" install