updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / perl-convert-uulib / PKGBUILD
blobf5d57efe78e21aa0e2ba248e6d3244f1ae3d0799
1 # Maintainer: Techlivezheng <techlivezheng [at] gmail [dot] com>
2 # Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
3 # Contributor: David Zaragoza <david@zaragoza.com.ve>
4 # Contributor: Piotr Beling <qwak@w8.pl>
5 # Contributor: Wael Nasreddine <wael@phoenixlinux.org>
6 # Contributor: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka)
7 # Contributor: Chih-mao Chen <pkmx.tw@gmail.com>
9 pkgname='perl-convert-uulib'
10 pkgver='1.4'
11 pkgrel='1'
12 pkgdesc='Perl interface to the uulib library (a.k.a. uudeview/uuenview).'
13 url='http://search.cpan.org/~mlehmann/Convert-UUlib/'
14 arch=('i686' 'x86_64')
15 license=('GPL' 'Artistic')
16 depends=('perl>=5.8.4')
17 options=(!emptydirs)
18 install="${pkgname}.install"
19 source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Convert-UUlib-${pkgver}.tar.gz")
21 build(){
22     cd "${srcdir}/Convert-UUlib-${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
34 md5sums=('a6486df1d9ce319406fb9d5a610da759')