summaryrefslogtreecommitdiff
path: root/extra/perl-tk
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-21 14:44:37 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-21 14:44:37 -0300
commit9d6dd0a34cb8bd599c4d06c54dbd247ede60267f (patch)
treecc7662c9e2eda6f7e3b3b0fb3b7c094e4fa54d0b /extra/perl-tk
parentfe0996f2e8716b772785a0bf93c6a3f2d5dc22ff (diff)
parent70b4878648fd376433739bd5c835503f6301a5b2 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/avifile/PKGBUILD community/blackbox/PKGBUILD community/blobby2/PKGBUILD community/chmsee/PKGBUILD community/extrema/PKGBUILD community/floyd/PKGBUILD community/gnash/PKGBUILD community/gq/PKGBUILD community/gsql/PKGBUILD community/haddock/PKGBUILD community/hashcash/PKGBUILD community/kvpnc/PKGBUILD community/uptimed/PKGBUILD community/wol/PKGBUILD core/jfsutils/PKGBUILD core/reiserfsprogs/PKGBUILD extra/gtk2/PKGBUILD extra/libcroco/PKGBUILD extra/libffado/PKGBUILD extra/librsvg/PKGBUILD extra/lua/PKGBUILD extra/mesa/PKGBUILD extra/valgrind/PKGBUILD extra/xorg-server/PKGBUILD libre/audacious-plugins-libre/PKGBUILD libre/texlive-bin-libre/PKGBUILD multilib/lib32-gtk2/PKGBUILD multilib/lib32-mesa/PKGBUILD multilib/wine/PKGBUILD multilib/wine_gecko/PKGBUILD
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 4fbeb965a..241d4705d 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' 'mips64el')
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"
}