aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-list-utilsby/APKBUILD
blob: a93ba7d170f361f969a09d3e7967fdbf5aa05f1c (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
35
36
37
38
39
40
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-list-utilsby
_pkgreal=List-UtilsBy
pkgver=0.11
pkgrel=2
pkgdesc="higher-order list utility functions"
url="https://metacpan.org/release/List-UtilsBy/"
arch="noarch"
license="GPL PerlArtistic"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	perl Build.PL installdirs=vendor
}

build() {
	cd "$builddir"
	./Build
}

check() {
	cd "$builddir"
        ./Build test
}

package() {
	cd "$builddir"
	./Build install destdir="$pkgdir"
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="7c912b805e1e21d5d683224b63125bc8385d79c7115d88c08ca28fc1778ec8d22ad4aaf366731df438365a5233108926cbffee284c2e2d37346b47984dbbd4c9  List-UtilsBy-0.11.tar.gz"