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

Maxime Gauduin alucryd at archlinux.org
Tue Mar 12 09:35:15 UTC 2019


    Date: Tuesday, March 12, 2019 @ 09:35:14
  Author: alucryd
Revision: 440616

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-tcl/repos/multilib-x86_64/PKGBUILD
    (from rev 440615, lib32-tcl/trunk/PKGBUILD)
Deleted:
  lib32-tcl/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |  141 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 73 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-12 09:35:06 UTC (rev 440615)
+++ PKGBUILD	2019-03-12 09:35:14 UTC (rev 440616)
@@ -1,68 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Miguel Revilla <yo at miguelrevilla.com>
-# Contributor: Eric Bélanger <eric at archlinux.org>
-
-pkgname=lib32-tcl
-pkgver=8.6.9
-pkgrel=1
-pkgdesc='The Tcl scripting language'
-arch=('x86_64')
-url='http://tcl.sourceforge.net/'
-license=('custom')
-depends=('lib32-glibc' 'lib32-zlib' 'tcl')
-makedepends=('gcc-multilib')
-options=('staticlibs')
-source=("http://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz")
-sha256sums=('04abaa207f4bf4f453bea5bbdbcf6cf4bcdba3ed1c5160bfd732c6b8c70c6269')
-
-prepare() {
-  cd tcl${pkgver}
-
-  rm -rf pkgs/sqlite3*
-}
-
-build() {
-  cd tcl${pkgver}/unix
-
-  export CC='gcc -m32'
-  export CXX='g++ -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
-  ./configure \
-    --prefix='/usr' \
-    --libdir='/usr/lib32' \
-    --mandir='/usr/share/man' \
-    --enable-threads
-  make
-}
-
-package() {
-  cd tcl${pkgver}/unix
-
-  make INSTALL_ROOT="${pkgdir}" install install-private-headers
-  rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
-  ln -sf libtcl${pkgver%.*}.so "${pkgdir}"/usr/lib32/libtcl.so
-
-  sed -e "s#${srcdir}/tcl${pkgver}/unix#/usr/lib32#" \
-      -e "s#${srcdir}/tcl${pkgver}#/usr/include#" \
-      -i "${pkgdir}/usr/lib32/tclConfig.sh"
-
-  tdbcver=1.1.0
-  sed -e "s#${srcdir}/tcl${pkgver}/unix/pkgs/tdbc${tdbcver}#/usr/lib32/tdbc${tdbcver}#" \
-      -e "s#${srcdir}/tcl${pkgver}/pkgs/tdbc${tdbcver}/generic#/usr/include#" \
-      -e "s#${srcdir}/tcl${pkgver}/pkgs/tdbc${tdbcver}/library#/usr/lib32/tcl${pkgver%.*}#" \
-      -e "s#${srcdir}/tcl${pkgver}/pkgs/tdbc${tdbcver}#/usr/include#" \
-      -i "${pkgdir}/usr/lib32/tdbc${tdbcver}/tdbcConfig.sh"
-
-  ictlver=4.1.2
-  sed -e "s#${srcdir}/tcl${pkgver}/unix/pkgs/itcl${ictlver}#/usr/lib32/${ictlver}#" \
-      -e "s#${srcdir}/tcl${pkgver}/pkgs/itcl${ictlver}/generic#/usr/include#" \
-      -e "s#${srcdir}/tcl${pkgver}/pkgs/itcl${ictlver}#/usr/include#" \
-      -i "${pkgdir}/usr/lib32/itcl${ictlver}/itclConfig.sh"
-
-
-  install -dm 755 -p "${pkgdir}"/usr/share/licenses
-  ln -s tcl "${pkgdir}"/usr/share/licenses/lib32-tcl
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-tcl/repos/multilib-x86_64/PKGBUILD (from rev 440615, lib32-tcl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-12 09:35:14 UTC (rev 440616)
@@ -0,0 +1,73 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Miguel Revilla <yo at miguelrevilla.com>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=lib32-tcl
+pkgver=8.6.9
+pkgrel=2
+pkgdesc='The Tcl scripting language'
+arch=(x86_64)
+url=http://tcl.sourceforge.net/
+license=(custom)
+depends=(
+  lib32-glibc
+  lib32-zlib
+  tcl
+)
+options=(staticlibs)
+source=(https://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz)
+sha256sums=(ad0cd2de2c87b9ba8086b43957a0de3eb2eb565c7159d5f53ccbba3feb915f4e)
+
+prepare() {
+  cd tcl${pkgver}
+
+  rm -rf pkgs/sqlite3*
+}
+
+build() {
+  cd tcl${pkgver}/unix
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+  ./configure \
+    --prefix=/usr \
+    --libdir=/usr/lib32 \
+    --mandir=/usr/share/man \
+    --enable-threads
+  make
+}
+
+package() {
+  cd tcl${pkgver}/unix
+
+  make INSTALL_ROOT="${pkgdir}" install install-private-headers
+  rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
+  ln -sf libtcl${pkgver%.*}.so "${pkgdir}"/usr/lib32/libtcl.so
+  strip "${pkgdir}"/usr/lib32/libtcl8.6.so
+  chmod 644 "${pkgdir}"/usr/lib32/libtclstub8.6.a
+
+  sed -e "s#${srcdir}/tcl${pkgver}/unix#/usr/lib32#" \
+      -e "s#${srcdir}/tcl${pkgver}#/usr/include#" \
+      -i "${pkgdir}/usr/lib32/tclConfig.sh"
+
+  tdbcver=1.1.0
+  sed -e "s#${srcdir}/tcl${pkgver}/unix/pkgs/tdbc${tdbcver}#/usr/lib32/tdbc${tdbcver}#" \
+      -e "s#${srcdir}/tcl${pkgver}/pkgs/tdbc${tdbcver}/generic#/usr/include#" \
+      -e "s#${srcdir}/tcl${pkgver}/pkgs/tdbc${tdbcver}/library#/usr/lib32/tcl${pkgver%.*}#" \
+      -e "s#${srcdir}/tcl${pkgver}/pkgs/tdbc${tdbcver}#/usr/include#" \
+      -i "${pkgdir}/usr/lib32/tdbc${tdbcver}/tdbcConfig.sh"
+
+  ictlver=4.1.2
+  sed -e "s#${srcdir}/tcl${pkgver}/unix/pkgs/itcl${ictlver}#/usr/lib32/${ictlver}#" \
+      -e "s#${srcdir}/tcl${pkgver}/pkgs/itcl${ictlver}/generic#/usr/include#" \
+      -e "s#${srcdir}/tcl${pkgver}/pkgs/itcl${ictlver}#/usr/include#" \
+      -i "${pkgdir}/usr/lib32/itcl${ictlver}/itclConfig.sh"
+
+
+  install -dm 755 -p "${pkgdir}"/usr/share/licenses
+  ln -s tcl "${pkgdir}"/usr/share/licenses/lib32-tcl
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list