aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-convert-tnef/APKBUILD
blob: ec2fb8cdc71cd228fc00895f2a53f6c1f0f62582 (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
# Contributor: Leonardo Arena <rnalrd@gmail.com>
# Maintainer:  Leonardo Arena <rnalrd@gmail.com>
pkgname=perl-convert-tnef
_realname=Convert-TNEF
pkgver=0.17
pkgrel=0
pkgdesc="Perl module to read TNEF files"
url="http://search.cpan.org/~dougw/Convert-TNEF-0.17/"
license="Unknown"
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
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="31cddf42fae9495b4a686b17ec68d7e0  Convert-TNEF-0.17.tar.gz"