summaryrefslogblamecommitdiff
path: root/user/perl-canary-stability/APKBUILD
blob: f68eadfc035a01835b98dfe0064b26e0b2684b0c (plain) (tree)

































                                                                                                                                                                           
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-canary-stability
pkgver=2012
pkgrel=0
pkgdesc="Canary to check Perl compatibility for schmorp's modules"
url="https://metacpan.org/pod/Canary::Stability"
arch="noarch"
license="Artistic-1.0-Perl AND GPL-2.0"
depends="perl"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Canary-Stability-$pkgver.tar.gz"
builddir="$srcdir/Canary-Stability-$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="7780731e4142d536182e1820c041c43ae67c5b47c044f15d8dcc060646bbab10a974bddcb703fdb27f427db3cd4dbdff54e131dc708c0260d7275be869eb27b1  Canary-Stability-2012.tar.gz"