blob: 7b67d30471fab4fe919ee4980c7dd40cabf51172 (
plain) (
blame)
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
34
|
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-bareword-filehandles
_pkgreal=bareword-filehandles
_author=ILMARI
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.007
pkgrel=0
pkgdesc="Perl module for disabling support for bareword filehandles"
url="https://metacpan.org/pod/bareword::filehandles"
arch="all"
license="Artistic-1.0-Perl"
depends="perl perl-b-hooks-op-check"
makedepends="perl-dev perl-extutils-depends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="e7bd4e2ce32b819086050d1619806a5ffedb08732a25a8786dc70f6c8bea3cb3dab2bcced2d5f02f8248ca816dcccdaa2a20c6c943dc5667f334e9e319dbee6d bareword-filehandles-0.007.tar.gz"
|