tk9
LOW
maintainer pounceandmiss
0 votes
scanned 2026-10-18 13:22:09.532316
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: pounceandmiss <pounceandmiss@proton.me>
2
# Contributor: Caleb Maclennan <caleb@alerque.com>
3
# Contributor: Eric Bélanger <eric@archlinux.org>
4
#
5
# Based on the Arch Linux tk PKGBUILD.
6
#
7
# Installed into the tcl9 prefix (/usr/lib/tcl9) so it can live next to the
8
# repo's tk 8.6. Only versioned wish symlinks are added to /usr/bin.
9
10
pkgname=tk9
11
pkgver=9.1.0
12
pkgrel=1
13
pkgdesc='A windowing toolkit for use with tcl (version 9, parallel-installable with tk 8.6)'
14
arch=(x86_64)
15
url='https://www.tcl-lang.org/'
16
license=(TCL)
17
depends=(tcl9
18
at-spi2-core
19
fontconfig
20
glib2
21
harfbuzz
22
libcups
23
libx11
24
libxext
25
libxft
26
libxrender
27
libxss)
28
options=(staticlibs)
29
_archive="tk$pkgver"
30
source=("https://downloads.sourceforge.net/sourceforge/tcl/$_archive-src.tar.gz")
31
sha256sums=('772ce7a97c07c2db4c957c93af7ab4dff4bd3037772836b6afbcd0974023b3d6')
32
33
_prefix=/usr/lib/tcl9
34
35
build() {
36
cd "$_archive/unix"
37
./configure \
38
--prefix=$_prefix \
39
--with-tcl=$_prefix/lib \
40
--enable-threads \
41
--enable-64bit \
42
--disable-zipfs
43
make
44
}
45
46
package() {
47
cd "$_archive/unix"
48
make INSTALL_ROOT="$pkgdir" install install-private-headers
49
chmod 644 "$pkgdir$_prefix/lib/libtkstub.a"
50
install -Dm644 ../license.terms -t "$pkgdir/usr/share/licenses/$pkgname/"
51
52
install -d "$pkgdir/usr/bin"
53
ln -s ../lib/tcl9/bin/wish${pkgver%.*} "$pkgdir/usr/bin/wish${pkgver%.*}"
54
ln -s ../lib/tcl9/bin/wish${pkgver%.*} "$pkgdir/usr/bin/wish9"
55
56
# install private headers (FS#14388, FS#47616)
57
local dir
58
for dir in generic generic/ttk unix; do
59
install -Dm644 -t "$pkgdir$_prefix/include/tk-private/$dir" ../$dir/*.h
60
done
61
62
# remove buildroot traces
63
sed -e "s#$srcdir/$_archive/unix#$_prefix/lib#g" \
64
-e "s#$srcdir/$_archive#$_prefix/include/tk-private#g" \
65
-i "$pkgdir$_prefix/lib/tkConfig.sh"
66
}
67
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-18 13:22:09 | Low | 1 |