# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Maintainer: Jozef Riha pkgname=perl-gnome2-print _cpanname=Gnome2-Print pkgver=1.000 pkgrel=3 pkgdesc="Perl wrappers for the Gnome Print utilities. " arch=('any') url="http://search.cpan.org/~EBASSI/${_cpanname}" license=('GPL' 'PerlArtistic') depends=('perl' 'libgnomeprintui' 'perl-extutils-depends' 'perl-extutils-pkgconfig') options=('!emptydirs') source=(http://www.cpan.org/authors/id/E/EB/EBASSI/${_cpanname}-${pkgver}.tar.gz) md5sums=('66578c2ffaebbe035a0735e65ad71c3f') build() { cd $srcdir/${_cpanname}-${pkgver} sed -i '/^auto_install/d' Makefile.PL PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd $srcdir/${_cpanname}-${pkgver} make install DESTDIR=$pkgdir find $pkgdir -name '.packlist' -delete find $pkgdir -name '*.pod' -delete }