aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-universal-moniker/APKBUILD
blob: 7f3ed88601e511b251f7466418543096def41a4f (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
34
35
36
37
38
39
40
41
42
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-universal-moniker
_pkgreal=UNIVERSAL-moniker
pkgver=0.08
pkgrel=2
pkgdesc="unknown"
url="https://metacpan.org/release/UNIVERSAL-moniker/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/K/KA/KASEI/$_pkgreal-$pkgver.tar.gz"

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

prepare() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$builddir"
	make
}

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

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

sha512sums="21b118a4aea5e8572ae4cc09caa877e15ff39bf2249af8826dedc63d069e81bed8a95d234408a8d763da42dc4278889d17402e75bfe336bb31de27b1d0e579e9  UNIVERSAL-moniker-0.08.tar.gz"