blob: b74b02d7a6147606ed0e49634012e0b27eddd043 (
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: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-specio-library-path-tiny
_pkgreal=Specio-Library-Path-Tiny
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.05
pkgrel=0
pkgdesc="Path::Tiny types and coercions for Specio"
url="https://metacpan.org/release/Specio-Library-Path-Tiny"
arch="noarch"
license="Apache-2.0"
depends="perl perl-file-pushd perl-path-tiny perl-specio"
makedepends="perl-dev"
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="69b67cd71fd0cccf043744f0f79869ca456369773d1a0ecfd41d4d095c8b449a83ba55b52949894410272c151354b57d948beda304a76050c87b743d2ebd0642 Specio-Library-Path-Tiny-0.05.tar.gz"
|