updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / perl-convert-tnef / PKGBUILD
blobd154ce91a82eb8f4e4c284e2e956e6e1619f773d
1 # Maintainer: Techlivezheng <techlivezheng [at] gmail [dot] com>
2 # Contributor: Piotr Beling <qwak [at] stud [at] ics [dot] p [dot] lodz [dot] pl>
3 # Contributor: Wael Nasreddine <wael [at] phoenixlinux [dot] org>
4 # Contributor: Guillermo A. Amaral <me [at] guillermoamaral [dot] com> (thewonka)
5 # Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
7 pkgname='perl-convert-tnef'
8 pkgver='0.17'
9 pkgrel='3'
10 pkgdesc='Perl module to read TNEF files.'
11 arch=('any')
12 url='http://search.cpan.org/~dougw/Convert-TNEF-0.17/'
13 license=('unknown')
14 depends=('perl>=5.10.0' 'perl-io-stringy' 'perl-mime-tools')
15 options=(!emptydirs)
16 install="${pkgname}.install"
17 source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/Convert-TNEF-$pkgver.tar.gz")
18 md5sums=('31cddf42fae9495b4a686b17ec68d7e0')
20 build()
22   cd "$srcdir/Convert-TNEF-$pkgver"
24   # install module in vendor directories.
25   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
26   make || return 1
27   make install DESTDIR="$pkgdir/" || return 1
29   # remove perllocal.pod and .packlist
30   find "$pkgdir" -name perllocal.pod -delete
31   find "$pkgdir" -name .packlist -delete