blob: 76eed87063437a67850529588a240d40e7a08ece (
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
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=perl-apireference
_realname=Perl-APIReference
pkgver=0.19
pkgrel=1
pkgdesc="Programatically query the perlapi"
arch=('any')
url="https://metacpan.org/release/Perl-APIReference"
license=('LGPL' 'PerlArtistic')
depends=('perl' 'perl-class-xsaccessor')
options=('!emptydirs')
source=("http://cpan.metacpan.org/authors/id/S/SM/SMUELLER/$_realname-$pkgver.tar.gz")
md5sums=('aa6ff371d7d32fdf630dd816c3a7b83f')
build() {
cd "$srcdir/$_realname-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir/$_realname-$pkgver"
make install DESTDIR="$pkgdir"
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}
|