[arch-commits] Commit in tcl/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Fri Dec 17 15:35:32 UTC 2021


    Date: Friday, December 17, 2021 @ 15:35:32
  Author: arojas
Revision: 432704

archrelease: copy trunk to extra-x86_64

Added:
  tcl/repos/extra-x86_64/PKGBUILD
    (from rev 432703, tcl/trunk/PKGBUILD)
Deleted:
  tcl/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  116 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 59 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-17 15:35:21 UTC (rev 432703)
+++ PKGBUILD	2021-12-17 15:35:32 UTC (rev 432704)
@@ -1,57 +0,0 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=tcl
-pkgver=8.6.12
-pkgrel=1
-pkgdesc="The Tcl scripting language"
-arch=('x86_64')
-url="http://tcl.sourceforge.net/"
-license=('custom')
-depends=('zlib')
-options=('staticlibs')
-source=(https://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz)
-sha256sums=('26c995dd0f167e48b11961d891ee555f680c175f7173ff8cb829f4ebcde4c1a6')
-
-prepare() {
-  cd tcl${pkgver}
-  # we build the tcl sqlite interface in sqlite-tcl package
-  rm -rf pkgs/sqlite3*
-}
-
-build() {
-  cd tcl${pkgver}/unix
-  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --enable-64bit
-  make
-}
-
-check() {
-  cd tcl${pkgver}/unix
-  make test
-}
-
-package() {
-  cd tcl${pkgver}/unix
-  make INSTALL_ROOT="${pkgdir}" install install-private-headers
-  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"
-  install -Dm644 tcl.m4 -t "$pkgdir"/usr/share/aclocal
-
-  # remove buildroot traces
-  sed -e "s#${srcdir}/tcl${pkgver}/unix#/usr/lib#" \
-      -e "s#${srcdir}/tcl${pkgver}#/usr/include#" \
-      -i "${pkgdir}/usr/lib/tclConfig.sh"
-
-  tdbcver=tdbc1.1.3
-  sed -e "s#${srcdir}/tcl${pkgver}/unix/pkgs/$tdbcver#/usr/lib/$tdbcver#" \
-      -e "s#${srcdir}/tcl${pkgver}/pkgs/$tdbcver/generic#/usr/include#" \
-      -e "s#${srcdir}/tcl${pkgver}/pkgs/$tdbcver/library#/usr/lib/tcl${pkgver%.*}#" \
-      -e "s#${srcdir}/tcl${pkgver}/pkgs/$tdbcver#/usr/include#" \
-      -i "${pkgdir}/usr/lib/$tdbcver/tdbcConfig.sh"
-
-  itclver=itcl4.2.2
-  sed -e "s#${srcdir}/tcl${pkgver}/unix/pkgs/$itclver#/usr/lib/$itclver#" \
-      -e "s#${srcdir}/tcl${pkgver}/pkgs/$itclver/generic#/usr/include#" \
-      -e "s#${srcdir}/tcl${pkgver}/pkgs/$itclver#/usr/include#" \
-      -i "${pkgdir}/usr/lib/$itclver/itclConfig.sh"
-}

Copied: tcl/repos/extra-x86_64/PKGBUILD (from rev 432703, tcl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-17 15:35:32 UTC (rev 432704)
@@ -0,0 +1,59 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=tcl
+pkgver=8.6.12
+pkgrel=2
+pkgdesc="Powerful, easy-to-learn dynamic programming language"
+arch=('x86_64')
+url="http://tcl.sourceforge.net/"
+license=('custom')
+depends=('zlib')
+options=('staticlibs' '!lto')
+source=(https://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz)
+sha256sums=('26c995dd0f167e48b11961d891ee555f680c175f7173ff8cb829f4ebcde4c1a6')
+
+prepare() {
+  cd tcl${pkgver}
+  # we build the tcl sqlite interface in sqlite-tcl package
+  rm -rf pkgs/sqlite3*
+}
+
+build() {
+  cd tcl${pkgver}/unix
+  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --enable-64bit
+  make
+}
+
+check() {
+  cd tcl${pkgver}/unix
+  make test
+}
+
+package() {
+  cd tcl${pkgver}/unix
+  make INSTALL_ROOT="${pkgdir}" install install-private-headers
+  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"
+  install -Dm644 tcl.m4 -t "$pkgdir"/usr/share/aclocal
+  chmod 644 "$pkgdir/usr/lib/libtclstub8.6.a"
+
+  # remove buildroot traces
+  sed -e "s#${srcdir}/tcl${pkgver}/unix#/usr/lib#" \
+      -e "s#${srcdir}/tcl${pkgver}#/usr/include#" \
+      -e "s#'{/usr/lib} '#'/usr/lib'#" \
+      -i "${pkgdir}/usr/lib/tclConfig.sh"
+
+  tdbcver=tdbc1.1.3
+  sed -e "s#${srcdir}/tcl${pkgver}/unix/pkgs/$tdbcver#/usr/lib/$tdbcver#" \
+      -e "s#${srcdir}/tcl${pkgver}/pkgs/$tdbcver/generic#/usr/include#" \
+      -e "s#${srcdir}/tcl${pkgver}/pkgs/$tdbcver/library#/usr/lib/tcl${pkgver%.*}#" \
+      -e "s#${srcdir}/tcl${pkgver}/pkgs/$tdbcver#/usr/include#" \
+      -i "${pkgdir}/usr/lib/$tdbcver/tdbcConfig.sh"
+
+  itclver=itcl4.2.2
+  sed -e "s#${srcdir}/tcl${pkgver}/unix/pkgs/$itclver#/usr/lib/$itclver#" \
+      -e "s#${srcdir}/tcl${pkgver}/pkgs/$itclver/generic#/usr/include#" \
+      -e "s#${srcdir}/tcl${pkgver}/pkgs/$itclver#/usr/include#" \
+      -i "${pkgdir}/usr/lib/$itclver/itclConfig.sh"
+}



More information about the arch-commits mailing list