summaryrefslogtreecommitdiff
path: root/tk/Pkgfile
diff options
context:
space:
mode:
authorShokara Kou <shokara@kalli.st>2021-12-12 18:11:20 -0500
committerShokara Kou <shokara@kalli.st>2021-12-12 18:11:20 -0500
commitac0a30b7d44952b8faf4ac3c4e521ee2dff04135 (patch)
treeb501a0a8b6f2ea2532bae287c9545cf5400d9aac /tk/Pkgfile
add ports
Ahhh! I forgot to put these under a git repo. :(
Diffstat (limited to 'tk/Pkgfile')
-rw-r--r--tk/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/tk/Pkgfile b/tk/Pkgfile
new file mode 100644
index 0000000..4eab78a
--- /dev/null
+++ b/tk/Pkgfile
@@ -0,0 +1,25 @@
1# Description: Tool Command Language, the language and library
2# URL: https://core.tcl-lang.org/tk/
3# Maintainer: Shokara Kou, shokara at kalli dot st
4
5name=tk
6version=8.6.12
7release=1
8source=(https://core.tcl-lang.org/$name/tarball/release/$name-$version.tar.gz)
9
10build() {
11 cd $name-$version/unix
12
13 ./configure \
14 --prefix=/usr
15 # configure script doesn't appear to have a way to disable docs
16 sed -i 's/^all:.*doc/all: binaries libraries/' Makefile
17
18 make
19 make DESTDIR=$PKG install
20
21 rm -fr $PKG/share/doc
22
23 cd $PKG/usr/bin
24 ln -s /usr/bin/wish8.6 wish
25}