aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-common-sense/APKBUILD
blob: d971731f98f6ab84a2062ebb6eea826f67e30710 (plain)
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
# Automatically generated by apkbuild-cpan, template 1
# Contributor:
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=perl-common-sense
_pkgreal=common-sense
pkgver=3.74
pkgrel=0
pkgdesc="Implementation of sane defaults for Perl programs"
url="https://metacpan.org/release/common-sense"
arch="noarch"
license="GPL-1.0-or-later Artistic-1.0-Perl"
depends="perl"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-$pkgver.tar.gz"

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

build() {
	cd "$builddir"
	perl Makefile.PL INSTALLDIRS=vendor
}

check() {
	cd "$builddir"
	make test
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="658ad70a2d1bbd0b26f91c4ea5d69b4cc0b632ede9532b88282987002a5e280f0475d63ee846b7bd2d38ef82f2680e20c2093803e4b62a984750ed447f318d60  common-sense-3.74.tar.gz"