tk9

LOW
maintainer pounceandmiss 0 votes scanned 2026-10-18 13:22:09.532316
View on AUR
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
10pkgname=tk9
11pkgver=9.1.0
12pkgrel=1
13pkgdesc='A windowing toolkit for use with tcl (version 9, parallel-installable with tk 8.6)'
14arch=(x86_64)
15url='https://www.tcl-lang.org/'
16license=(TCL)
17depends=(tcl9
18 at-spi2-core
19 fontconfig
20 glib2
21 harfbuzz
22 libcups
23 libx11
24 libxext
25 libxft
26 libxrender
27 libxss)
28options=(staticlibs)
29_archive="tk$pkgver"
30source=("https://downloads.sourceforge.net/sourceforge/tcl/$_archive-src.tar.gz")
31sha256sums=('772ce7a97c07c2db4c957c93af7ab4dff4bd3037772836b6afbcd0974023b3d6')
32
33_prefix=/usr/lib/tcl9
34
35build() {
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
46package() {
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)SeverityRules
2026-10-18 13:22:09 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion