summaryrefslogtreecommitdiff
path: root/community/perl-tk-tablematrix
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
committerroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
commit5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch)
tree438c05155823f16b71f4277fef949610bf6fe826 /community/perl-tk-tablematrix
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-tk-tablematrix')
-rw-r--r--community/perl-tk-tablematrix/PKGBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/community/perl-tk-tablematrix/PKGBUILD b/community/perl-tk-tablematrix/PKGBUILD
index 294f0bd20..8f9dd8986 100644
--- a/community/perl-tk-tablematrix/PKGBUILD
+++ b/community/perl-tk-tablematrix/PKGBUILD
@@ -1,25 +1,33 @@
-# $Id: PKGBUILD 35715 2010-12-22 01:29:04Z tdziedzic $
+# $Id: PKGBUILD 47698 2011-05-24 20:28:40Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-tk-tablematrix
pkgver=1.23
-pkgrel=6
+pkgrel=7
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")
+source=("http://www.cpan.org/authors/id/C/CE/CERNEY/Tk-TableMatrix-${pkgver}.tar.gz")
md5sums=('6b7653d129bf1a8327054a88b58d6364')
build() {
- cd $srcdir/Tk-TableMatrix-$pkgver
+ cd 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
+}
+
+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
}