diff options
Diffstat (limited to 'community/perl-tk-tablematrix/PKGBUILD')
-rw-r--r-- | community/perl-tk-tablematrix/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/perl-tk-tablematrix/PKGBUILD b/community/perl-tk-tablematrix/PKGBUILD new file mode 100644 index 000000000..89e3a1181 --- /dev/null +++ b/community/perl-tk-tablematrix/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 91699 2013-05-26 09:26:12Z bluewind $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Charles Mauch <cmauch@gmail.com> + +pkgname=perl-tk-tablematrix +pkgver=1.23 +pkgrel=10 +pkgdesc="Display data in TableSpreadsheet format" +arch=("i686" "x86_64") +url="http://search.cpan.org/dist/Tk-TableMatrix" +license=("GPL" "PerlArtistic") +depends=('perl-tk') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/C/CE/CERNEY/Tk-TableMatrix-${pkgver}.tar.gz") +md5sums=('6b7653d129bf1a8327054a88b58d6364') + +build() { + cd Tk-TableMatrix-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Tk-TableMatrix-${pkgver} + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete + + rm -f ${pkgdir}/usr/lib/perl5/vendor_perl/auto/Tk/pTk/extralibs.ld +} |