blob: 0e0750aba9c41cfffa112f369aacf8c24f0523b4 (
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
|
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-mime-construct
_pkgreal=mime-construct
pkgver=1.11
pkgrel=3
pkgdesc="Construct and optionally mail MIME messages"
url="http://search.cpan.org/~rosch/mime-construct/mime-construct"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-proc-waitstat perl-mime-types perl-mime-base64"
depends="perl $cpandepends"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$builddir"
default_prepare || return 1
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="73834ea780fbea81b89dbd9b2fb54f58 mime-construct-1.11.tar.gz"
sha256sums="4cd7bb61b51d41192d1498c1051aa6a4ccd75aeb09b71d2ec706a7084a4a9303 mime-construct-1.11.tar.gz"
sha512sums="1192c5a0cd1c7675aaf4d1570c910672d3c3b6585f33e4781de289e8e1d9530c17b6d48083ad68349b46faa8e03be1dfeef16701b12763adc36bfa4f3b399a5f mime-construct-1.11.tar.gz"
|