summaryrefslogtreecommitdiffstats
path: root/perl
diff options
context:
space:
mode:
author Petar Petrov2021-05-18 16:43:38 +0200
committer Willy Sudiarto Raharjo2021-05-18 18:40:22 +0200
commitc959f4723b6bd7c9940e228807b451933e5b43da (patch)
tree7904890b7eb52d197ad254177abb2342c2ee3924 /perl
parent8f6caa53797b4fcdfd477c9feaad15415f23e355 (diff)
downloadslackbuilds-c959f4723b6bd7c9940e228807b451933e5b43da.tar.gz
perl/perl-tk: update for version 804.036
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-tk/patches/perl-tk-804.031.diff9
-rw-r--r--perl/perl-tk/perl-tk.SlackBuild30
-rw-r--r--perl/perl-tk/perl-tk.info6
-rw-r--r--perl/perl-tk/perl_bin_path.diff (renamed from perl/perl-tk/patches/perl_bin_path.diff)0
4 files changed, 28 insertions, 17 deletions
diff --git a/perl/perl-tk/patches/perl-tk-804.031.diff b/perl/perl-tk/patches/perl-tk-804.031.diff
deleted file mode 100644
index 1e595c009a..0000000000
--- a/perl/perl-tk/patches/perl-tk-804.031.diff
+++ /dev/null
@@ -1,9 +0,0 @@
-diff -ru Tk-804.031.org/TextList/reindex.pl Tk-804.031/TextList/reindex.pl
---- Tk-804.031.org/TextList/reindex.pl 2007-02-10 05:54:45.000000000 -0300
-+++ Tk-804.031/TextList/reindex.pl 2010-08-05 13:53:36.447371174 -0300
-@@ -1,4 +1,4 @@
--#!/bin/perl
-+#!/usr/bin/perl
-
- use lib qw(/home1/gbartels/textlist);
- use Tk;
diff --git a/perl/perl-tk/perl-tk.SlackBuild b/perl/perl-tk/perl-tk.SlackBuild
index e0f0cf7126..681153ae4f 100644
--- a/perl/perl-tk/perl-tk.SlackBuild
+++ b/perl/perl-tk/perl-tk.SlackBuild
@@ -1,11 +1,31 @@
#!/bin/sh
-# Slackware build script for perl-tk (Tk)
-
-# Written by Pablo Santamaria (pablosantamaria@gmail.com)
+# Slackware build script for perl-tk
+
+# Copyright 2010-2017 Pablo Santamaria pablosantamaria@gmail.com
+# Copyright 2017-2020 Ryan S. Northrup northrup@yellowapple.us
+# Updated in 2021 by Petar Petrov slackalaxy@gmail.com
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-tk
-VERSION=${VERSION:-804.033}
+VERSION=${VERSION:-804.036}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,7 +72,7 @@ find -L . \
-exec chmod 644 {} \;
# Apply a few patches
-patch -p0 < $CWD/patches/perl_bin_path.diff
+patch -p0 < $CWD/perl_bin_path.diff
# XFT=1 (font manager) support, which gives perl-tk programs the ability to
# use all fonts accessible from XFT and antialiasing.
diff --git a/perl/perl-tk/perl-tk.info b/perl/perl-tk/perl-tk.info
index aa6035734f..00a8599c04 100644
--- a/perl/perl-tk/perl-tk.info
+++ b/perl/perl-tk/perl-tk.info
@@ -1,8 +1,8 @@
PRGNAM="perl-tk"
-VERSION="804.033"
+VERSION="804.036"
HOMEPAGE="https://metacpan.org/pod/Tk"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SR/SREZIC/Tk-804.033.tar.gz"
-MD5SUM="4c6d281ca9c6c2349e5cf84394e638fa"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SR/SREZIC/Tk-804.036.tar.gz"
+MD5SUM="d663d4cbf33a3ed92c8d2ede22aaed60"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/perl/perl-tk/patches/perl_bin_path.diff b/perl/perl-tk/perl_bin_path.diff
index 2d304b4dc4..2d304b4dc4 100644
--- a/perl/perl-tk/patches/perl_bin_path.diff
+++ b/perl/perl-tk/perl_bin_path.diff