blob: 4b07f67189dcf6a59057a32343aca0b5bb2c6015 (
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: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-package-stash
pkgver=0.37
pkgrel=0
pkgdesc="Perl routines for manipulating stashes"
url="https://metacpan.org/release/Package-Stash"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl-module-implementation perl-package-stash-xs"
makedepends="perl-dev"
checkdepends="perl-dist-checkconflicts perl-test-fatal perl-test-requires"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DO/DOY/Package-Stash-$pkgver.tar.gz"
builddir="$srcdir/Package-Stash-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="d10321903591568d4ac4db91ad9e4dfcffe564ab22a5ecdd8fa103749c9708da082ffb3ca478e98ac120a23e51c0ab0ccf799c0da10fe2be194e9cace1f16b06 Package-Stash-0.37.tar.gz"
|