summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-19 21:01:13 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-19 21:01:13 (GMT)
commit69bfb5d2af8fbbf289738862fbffbdaf3708fca7 (patch)
treec45fa30b643f3c8676fc76598cbd8b2af5b47aea /abs/core/perl_modules
parentce5b6b804b2a5a95524a1ee67a2572b49c25493a (diff)
downloadlinhes_pkgbuild-69bfb5d2af8fbbf289738862fbffbdaf3708fca7.zip
linhes_pkgbuild-69bfb5d2af8fbbf289738862fbffbdaf3708fca7.tar.gz
linhes_pkgbuild-69bfb5d2af8fbbf289738862fbffbdaf3708fca7.tar.bz2
perl-tk: update to 804.032
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r--abs/core/perl_modules/perl-tk/PKGBUILD44
1 files changed, 24 insertions, 20 deletions
diff --git a/abs/core/perl_modules/perl-tk/PKGBUILD b/abs/core/perl_modules/perl-tk/PKGBUILD
index 21efbdb..6d9a17a 100644
--- a/abs/core/perl_modules/perl-tk/PKGBUILD
+++ b/abs/core/perl_modules/perl-tk/PKGBUILD
@@ -1,44 +1,48 @@
# $Id$
-# Maintainer: François Charette <francois ατ archlinux δοτ org>
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: 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
+pkgver=804.032
pkgrel=3
pkgdesc="A graphical user interface toolkit for Perl"
arch=('i686' 'x86_64')
-url="http://search.cpan.org/dist/${_cpanname}"
+url="http://search.cpan.org/dist/Tk"
license=('PerlArtistic' 'GPL' 'custom')
-depends=('libx11' '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')
+depends=('libpng' 'libjpeg' 'tk' 'perl')
+options=('!emptydirs' '!strip')
+source=(http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-${pkgver}.tar.gz
+ https://github.com/eserte/perl-tk/commit/ba3a92a779f7adcf655b7e45b40ee5b0cb79bc8b.patch
+ https://github.com/eserte/perl-tk/commit/1ca4589ef5a87999ec564081900bc8fdaed83c74.patch)
build() {
- 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
+ cd Tk-$pkgver
+
+ # FS#40692
+ patch -p1 -i ../1ca4589ef5a87999ec564081900bc8fdaed83c74.patch
+ patch -p1 -i ../ba3a92a779f7adcf655b7e45b40ee5b0cb79bc8b.patch
+
+ perl Makefile.PL INSTALLDIRS=vendor
make
}
#check() {
-# cd $srcdir/${_cpanname}-$pkgver
+# cd Tk-$pkgver
# make test
#}
package() {
- cd $srcdir/${_cpanname}-$pkgver
- make install DESTDIR=$pkgdir
+ cd Tk-$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"
}
+md5sums=('47a84c70d1fd254ccece208303e6e9d5'
+ '27c00e07b221a41dd6113e677c15af5d'
+ 'ea4ef20075bfd7da735a87245feeb061')