Skip to content
Snippets Groups Projects
Commit 99b7edb7 authored by Eric Bélanger's avatar Eric Bélanger
Browse files

Upstream update

parent 81bbedc8
No related branches found
No related tags found
No related merge requests found
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=tcl
pkgver=8.6.0
pkgrel=6
pkgver=8.6.1
pkgrel=1
pkgdesc="The Tcl scripting language"
arch=('i686' 'x86_64')
url="http://tcl.sourceforge.net/"
license=('custom')
depends=('zlib')
source=(http://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz)
sha1sums=('fc57fc08ab113740a702bb67d4f350f8ec85ef58')
sha1sums=('5c83d44152cc0496cc0847a2495f659502a30e40')
prepare() {
cd tcl${pkgver}
# we build the tcl sqlite interface in sqlite-tcl package
rm -rf pkgs/sqlite3*
sed -i 's/#define DUPTRAVERSE_MAX_DEPTH 500/#define DUPTRAVERSE_MAX_DEPTH 5000/' \
generic/regc_nfa.c
}
build() {
......@@ -35,7 +32,7 @@ check() {
package() {
cd tcl${pkgver}/unix
make INSTALL_ROOT="${pkgdir}" install install-private-headers
ln -sf tclsh8.6 "${pkgdir}/usr/bin/tclsh"
ln -sf tclsh${pkgver%.*} "${pkgdir}/usr/bin/tclsh"
ln -sf libtcl${pkgver%.*}.so "${pkgdir}/usr/lib/libtcl.so"
install -Dm644 ../license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment