aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-convert-tnef/APKBUILD
blob: 5746ee236e1a6fb622dae7f4c52057699d4df6ae (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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-convert-tnef
_realname=Convert-TNEF
pkgver=0.18
pkgrel=1
pkgdesc="Perl module to read TNEF files"
url="http://search.cpan.org/~dougw/Convert-TNEF-0.17/"
arch="noarch"
license="Artistic-Perl-1.0 GPL+"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/$_realname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$_realname-$pkgver"

	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

package() {
	cd "$srcdir/$_realname-$pkgver"
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="6f69ff242a807b861c6e68a3d93a58f7  Convert-TNEF-0.18.tar.gz"
sha256sums="9df692e7e90536c28edea2c09ec4c45ac49af789fb2863248cc723210c785403  Convert-TNEF-0.18.tar.gz"
sha512sums="00cbe54169c535e6d6d3b53a06eb47808a129d6397c73b5f2b53b93efba20f81d078c16edb7b0108bc037e2cb7f1c92719633519ea17088442ea8f63864eaf07  Convert-TNEF-0.18.tar.gz"