[arch-commits] Commit in tk/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Jan 16 10:20:17 UTC 2021
Date: Saturday, January 16, 2021 @ 10:20:17
Author: arojas
Revision: 406280
Update to 8.6.11.1
Modified:
tk/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-16 09:10:46 UTC (rev 406279)
+++ PKGBUILD 2021-01-16 10:20:17 UTC (rev 406280)
@@ -1,33 +1,34 @@
# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=tk
-pkgver=8.6.11
+pkgver=8.6.11.1
+_pkgver=8.6.11
pkgrel=1
pkgdesc="A windowing toolkit for use with tcl"
arch=('x86_64')
url="http://tcl.sourceforge.net/"
license=('custom')
-depends=("tcl=$pkgver" 'libxss' 'libxft')
+depends=('tcl' 'libxss' 'libxft')
options=('staticlibs')
source=(https://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha256sums=('5228a8187a7f70fa0791ef0f975270f068ba9557f57456f51eb02d9d4ea31282')
+sha256sums=('006cab171beeca6a968b6d617588538176f27be232a2b334a0e96173e89909be')
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)
@@ -38,7 +39,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