summaryrefslogtreecommitdiff
path: root/community/perl-tk-tablematrix/PKGBUILD
blob: 294f0bd20ca6bf4bd5c17a6cdb84027a8d25cfdf (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
# $Id: PKGBUILD 35715 2010-12-22 01:29:04Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-tk-tablematrix
pkgver=1.23
pkgrel=6
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 $srcdir/Tk-TableMatrix-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  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
}