aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-log-any/APKBUILD
blob: 9ace8b2a2275b1588a184967ae8d1e567ac0a3f1 (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
# 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-log-any
_pkgreal=Log-Any
pkgver=0.15
pkgrel=0
pkgdesc="Bringing loggers and listeners together"
url="http://search.cpan.org/dist/Log-Any/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/J/JS/JSWARTZ/$_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
}

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

md5sums="8337dd1dedd499de70f941ef980b5fe9  Log-Any-0.15.tar.gz"
sha256sums="fbb24743d1b61debc490cb41f8f3f1e865379c8b52dacb419f10ff03d02b1cb2  Log-Any-0.15.tar.gz"
sha512sums="4f1919c64ca5bbb2773369ab44ef972272926554b37f95d31a8dbd1f11da730307b55023eba1396c608ce194c70a83afe59034c116fa2c5817b7037222948869  Log-Any-0.15.tar.gz"