aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-io-tee/APKBUILD
blob: 29198bab43816c8233e0d8bcfeca1d2e1375c08a (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
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-io-tee
pkgver=0.64
_realname=IO-Tee-$pkgver
pkgrel=0
pkgdesc="Multiplex output to multiple output handles"
url="http://search.cpan.org/dist/IO-Tee/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/K/KE/KENSHAN/$_realname.tar.gz"

_builddir="$srcdir"/$_realname

build() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

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

md5sums="97d91e38fcadc1f01d8030a8d4f30701  IO-Tee-0.64.tar.gz"
sha256sums="3ed276b1c2d3511338653c2532e73753d284943c1a8f5159ff37fecc2b345ed6  IO-Tee-0.64.tar.gz"
sha512sums="9473a9ce3222ee6998cc53851a34051a9ae5990b9c514b5e5d322832d76f0e20d7af51bf7f06603ad927ab9789e5ab10da7a0693e4867112cd3e1dc1ca25d017  IO-Tee-0.64.tar.gz"