[arch-commits] Commit in tk/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sat Nov 6 23:16:34 UTC 2021


    Date: Saturday, November 6, 2021 @ 23:16:34
  Author: arojas
Revision: 427428

Update to 8.6.12

Modified:
  tk/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-06 22:50:11 UTC (rev 427427)
+++ PKGBUILD	2021-11-06 23:16:34 UTC (rev 427428)
@@ -1,8 +1,7 @@
 # Maintainer: Eric Bélanger <eric at archlinux.org>
 
 pkgname=tk
-pkgver=8.6.11.1
-_pkgver=8.6.11
+pkgver=8.6.12
 pkgrel=1
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('x86_64')
@@ -11,24 +10,24 @@
 depends=('tcl' 'libxss' 'libxft')
 options=('staticlibs')
 source=(https://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha256sums=('006cab171beeca6a968b6d617588538176f27be232a2b334a0e96173e89909be')
+sha256sums=('12395c1f3fcb6bed2938689f797ea3cdf41ed5cb6c4766eec8ac949560310630')
 
 build() {
-  cd tk$_pkgver/unix
+  cd tk$pkgver/unix
   ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-rpath --enable-64bit
   make
 }
 
 check() {
-  cd tk$_pkgver/unix
+  cd tk$pkgver/unix
 #  make test
 }
 
 package() {
-  cd tk$_pkgver/unix
+  cd tk$pkgver/unix
   make INSTALL_ROOT="${pkgdir}" install install-private-headers
-  ln -sf wish${_pkgver%.*} "${pkgdir}/usr/bin/wish"
-  ln -sf libtk${_pkgver%.*}.so "${pkgdir}/usr/lib/libtk.so"
+  ln -sf wish${pkgver%.*} "${pkgdir}/usr/bin/wish"
+  ln -sf libtk${pkgver%.*}.so "${pkgdir}/usr/lib/libtk.so"
   install -Dm644 license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 
   # install private headers (FS#14388, FS#47616)
@@ -39,7 +38,7 @@
   done
 
   # remove buildroot traces
-  sed -e "s#${srcdir}/tk${_pkgver}/unix#/usr/lib#" \
-      -e "s#${srcdir}/tk${_pkgver}#/usr/include#" \
+  sed -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+      -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
       -i "${pkgdir}/usr/lib/tkConfig.sh"
 }



More information about the arch-commits mailing list