* update tk to 9.0.1-1

This commit is contained in:
Alexander Baldeck 2025-02-04 08:45:29 +01:00
parent 9f86734ce0
commit f1f1ebaaeb
2 changed files with 10 additions and 16 deletions

View File

@ -1,6 +1,6 @@
pkgbase = tk
pkgdesc = A windowing toolkit for use with tcl
pkgver = 8.6.16
pkgver = 9.0.1
pkgrel = 1
url = http://tcl.sourceforge.net/
arch = x86_64
@ -9,13 +9,12 @@ pkgbase = tk
arch = powerpc
arch = riscv64
license = TCL
makedepends = zip
depends = tcl
depends = libxss
depends = libxft
options = staticlibs
source = https://downloads.sourceforge.net/sourceforge/tcl/tk8.6.16-src.tar.gz
source = font-sizes.diff
sha256sums = be9f94d3575d4b3099d84bc3c10de8994df2d7aa405208173c709cc404a7e5fe
sha256sums = 80a64f81a002ca83475ac2e53b8c9836e1a376049989733b61687c88df8c68e5
source = https://downloads.sourceforge.net/sourceforge/tcl/tk9.0.1-src.tar.gz
sha256sums = d6f01a4d598bfc6398be9584e1bab828c907b0758db4bbb351a1429106aec527
pkgname = tk

View File

@ -3,7 +3,7 @@
# Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=tk
pkgver=8.6.16
pkgver=9.0.1
pkgrel=1
pkgdesc='A windowing toolkit for use with tcl'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -12,21 +12,16 @@ license=(TCL)
depends=(tcl
libxss
libxft)
makedepends=(zip)
options=(staticlibs)
_archive="$pkgname$pkgver"
source=("https://downloads.sourceforge.net/sourceforge/tcl/$_archive-src.tar.gz"
font-sizes.diff)
sha256sums=('be9f94d3575d4b3099d84bc3c10de8994df2d7aa405208173c709cc404a7e5fe'
'80a64f81a002ca83475ac2e53b8c9836e1a376049989733b61687c88df8c68e5')
prepare() {
cd "$_archive"
patch -p1 -i ../font-sizes.diff
}
source=("https://downloads.sourceforge.net/sourceforge/tcl/$_archive-src.tar.gz")
sha256sums=('d6f01a4d598bfc6398be9584e1bab828c907b0758db4bbb351a1429106aec527')
build() {
cd "$_archive/unix"
./configure \
ZIP_PROG=zip \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-threads \
@ -60,5 +55,5 @@ package() {
-i "$pkgdir/usr/lib/tkConfig.sh"
# remove unrequired execute permissions (FS#75042)
chmod -x "$pkgdir/usr/lib/libtkstub8.6.a"
chmod -x "$pkgdir/usr/lib/libtkstub.a"
}