summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-tk-tablematrix/PKGBUILD
blob: 42446830dab70799d029e8702f0b00013ce625cb (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,v 1.8 2008/03/24 17:11:47 sergej Exp $
# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-tk-tablematrix
pkgver=1.23
pkgrel=4
pkgdesc="Display data in TableSpreadsheet format"
arch=("i686" "x86_64")
url="http://search.cpan.org/CERNEY/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 $startdir/src/Tk-TableMatrix-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
  make || return 1
  make install DESTDIR=$startdir/pkg || return 1
  find $startdir/pkg -name '.packlist' -delete
  find $startdir/pkg -name '*.pod' -delete
  rm -f $startdir/pkg/usr/lib/perl5/vendor_perl/auto/Tk/pTk/extralibs.ld
}