summaryrefslogtreecommitdiff
path: root/extra/perl-tk
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-20 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2011-11-20 23:14:50 +0000
commit70b4878648fd376433739bd5c835503f6301a5b2 (patch)
treec74d46f8e06305505e381202251b6f71ca33c3e7 /extra/perl-tk
parenta3024f8996981b28ced27466cbd1d4ab40e57324 (diff)
Sun Nov 20 23:14:50 UTC 2011
Diffstat (limited to 'extra/perl-tk')
-rw-r--r--extra/perl-tk/PKGBUILD27
1 files changed, 12 insertions, 15 deletions
diff --git a/extra/perl-tk/PKGBUILD b/extra/perl-tk/PKGBUILD
index 2a80a320e..51e4c5126 100644
--- a/extra/perl-tk/PKGBUILD
+++ b/extra/perl-tk/PKGBUILD
@@ -1,44 +1,41 @@
-# $Id: PKGBUILD 124660 2011-05-23 20:07:22Z remy $
+# $Id: PKGBUILD 142966 2011-11-19 08:36:20Z eric $
# Maintainer: François Charette <francois ατ archlinux δοτ org>
# Contributor: Jason Chu <jchu@xentac.net>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
pkgname=perl-tk
_cpanname=Tk
-pkgver=804.029
-pkgrel=3
+pkgver=804.030
+pkgrel=1
pkgdesc="A graphical user interface toolkit for Perl"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/${_cpanname}"
license=('PerlArtistic' 'GPL' 'custom')
-depends=('libx11' 'libpng' 'libjpeg' 'tk' 'perl')
+depends=('libpng' 'libjpeg' 'tk' 'perl')
options=('!emptydirs')
replaces=('perltk')
provides=('perltk')
-source=(http://www.cpan.org/authors/id/S/SR/SREZIC/${_cpanname}-${pkgver}.tar.gz)
-md5sums=('f4aebe6fcdb309a8480514f2ccf8117c')
+source=(http://www.cpan.org/authors/id/S/SR/SREZIC/${_cpanname}-${pkgver}.tar.gz)
+md5sums=('13275e85f99ee467a86d9598a437abff')
build() {
- cd $srcdir/${_cpanname}-$pkgver
+ cd "$srcdir/${_cpanname}-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
- /bin/chmod -R u+w *
- # The Xlib header is wrong...
- sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' pTk/Xlib.h
make
}
#check() {
-# cd $srcdir/${_cpanname}-$pkgver
+# cd "$srcdir/${_cpanname}-$pkgver"
# make test
#}
package() {
- cd $srcdir/${_cpanname}-$pkgver
- make install DESTDIR=$pkgdir
+ cd "$srcdir/${_cpanname}-$pkgver"
+ make install DESTDIR="$pkgdir"
# license
install -D -m644 pTk/license.terms \
- ${startdir}/pkg/usr/share/licenses/${pkgname}/tk.license
+ "${pkgdir}/usr/share/licenses/${pkgname}/tk.license"
install -D -m644 pTk/Tix.license \
- ${startdir}/pkg/usr/share/licenses/${pkgname}/tix.license
+ "${pkgdir}/usr/share/licenses/${pkgname}/tix.license"
}