APKBUILD 999 Bytes
Newer Older
A. Wilcox's avatar
A. Wilcox committed
1 2 3
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-type-tiny
Kiyoshi Aman's avatar
Kiyoshi Aman committed
4 5 6 7
_pkgreal=Type-Tiny
_author=TOBYINK
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
8
pkgver=1.008005
A. Wilcox's avatar
A. Wilcox committed
9 10 11 12 13
pkgrel=0
pkgdesc="Tiny Moo(se) compatible type constraint"
url="https://metacpan.org/release/Type-Tiny"
arch="noarch"
license="Artistic-1.0-Perl"
14 15
depends="perl perl-exporter-tiny"
makedepends="perl-dev"
A. Wilcox's avatar
A. Wilcox committed
16
subpackages="$pkgname-doc"
Kiyoshi Aman's avatar
Kiyoshi Aman committed
17 18
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
A. Wilcox's avatar
A. Wilcox committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

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
}

34
sha512sums="70ee8d80e1b1468035e7a354faa605098615f29770d046740c384e2017e207a8fa574fd19b69dc7d0b5b954aa68e01eccc92c4a38bf0d6dc7eb1a090df6fac60  Type-Tiny-1.008005.tar.gz"