aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-mime-lite/APKBUILD
blob: 986717158796acd9d1f892de99f93bebbf380510 (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-mime-lite
_pkgreal=MIME-Lite
pkgver=3.030
pkgrel=1
pkgdesc="low-calorie MIME generator"
url="http://search.cpan.org/dist/MIME-Lite/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-mime-types perl-email-date-format
	perl-mailtools perl-test-pod-coverage"
cpanmakedepends=""
depends="perl $cpandepends"
makedepends="perl-dev $cpanmakedepends"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"

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

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

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

md5sums="5a6d90329e049eee77248d667343acc7  MIME-Lite-3.030.tar.gz"
sha256sums="8f39901bc580bc3dce69e10415305e4435ff90264c63d29f707b4566460be962  MIME-Lite-3.030.tar.gz"
sha512sums="978cb234d16afcfc9b2fa16c74de04ee74f3a1050b28f7d380d64c8c8688c6d75452d7bc4c7b2575800455a45cdde477e05e8afe2b962ef2527c3ecc265d1158  MIME-Lite-3.030.tar.gz"