summaryrefslogtreecommitdiff
path: root/extra/perl-tk
diff options
context:
space:
mode:
Diffstat (limited to 'extra/perl-tk')
-rw-r--r--extra/perl-tk/PKGBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/extra/perl-tk/PKGBUILD b/extra/perl-tk/PKGBUILD
index 1b8b0ef49..81acfd680 100644
--- a/extra/perl-tk/PKGBUILD
+++ b/extra/perl-tk/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 214236 2014-06-04 13:52:08Z bluewind $
+# $Id: PKGBUILD 216603 2014-07-07 05:47:52Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: François Charette <francois ατ archlinux δοτ org>
# Contributor: Jason Chu <jchu@xentac.net>
@@ -6,18 +6,27 @@
pkgname=perl-tk
pkgver=804.032
-pkgrel=2
+pkgrel=3
pkgdesc="A graphical user interface toolkit for Perl"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Tk"
license=('PerlArtistic' 'GPL' 'custom')
depends=('libpng' 'libjpeg' 'tk' 'perl')
-options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-${pkgver}.tar.gz)
-md5sums=('47a84c70d1fd254ccece208303e6e9d5')
+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)
+md5sums=('47a84c70d1fd254ccece208303e6e9d5'
+ 'e567bd0c209ad54004fa57cfac095f14'
+ 'f06be3193f64791c134741a6ed2144a9')
build() {
cd Tk-$pkgver
+
+ # FS#40692
+ patch -p1 -i ../1ca4589ef5a87999ec564081900bc8fdaed83c74.patch
+ patch -p1 -i ../ba3a92a779f7adcf655b7e45b40ee5b0cb79bc8b.patch
+
perl Makefile.PL INSTALLDIRS=vendor
make
}