[arch-commits] Commit in tk/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Jan 16 10:20:26 UTC 2021
Date: Saturday, January 16, 2021 @ 10:20:26
Author: arojas
Revision: 406281
archrelease: copy trunk to extra-x86_64
Added:
tk/repos/extra-x86_64/PKGBUILD
(from rev 406280, tk/trunk/PKGBUILD)
Deleted:
tk/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 89 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-16 10:20:17 UTC (rev 406280)
+++ PKGBUILD 2021-01-16 10:20:26 UTC (rev 406281)
@@ -1,44 +0,0 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=tk
-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')
-options=('staticlibs')
-source=(https://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha256sums=('5228a8187a7f70fa0791ef0f975270f068ba9557f57456f51eb02d9d4ea31282')
-
-build() {
- cd tk$pkgver/unix
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-rpath --enable-64bit
- make
-}
-
-check() {
- cd tk$pkgver/unix
-# make test
-}
-
-package() {
- 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"
- install -Dm644 license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
- # install private headers (FS#14388, FS#47616)
- cd ..
- for dir in compat generic generic/ttk unix; do
- install -dm755 "${pkgdir}"/usr/include/tk-private/$dir
- install -m644 -t "${pkgdir}"/usr/include/tk-private/$dir $dir/*.h
- done
-
- # remove buildroot traces
- sed -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
- -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
- -i "${pkgdir}/usr/lib/tkConfig.sh"
-}
Copied: tk/repos/extra-x86_64/PKGBUILD (from rev 406280, tk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-16 10:20:26 UTC (rev 406281)
@@ -0,0 +1,45 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=tk
+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' 'libxss' 'libxft')
+options=('staticlibs')
+source=(https://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha256sums=('006cab171beeca6a968b6d617588538176f27be232a2b334a0e96173e89909be')
+
+build() {
+ cd tk$_pkgver/unix
+ ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-rpath --enable-64bit
+ make
+}
+
+check() {
+ cd tk$_pkgver/unix
+# make test
+}
+
+package() {
+ 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"
+ install -Dm644 license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ # install private headers (FS#14388, FS#47616)
+ cd ..
+ for dir in compat generic generic/ttk unix; do
+ install -dm755 "${pkgdir}"/usr/include/tk-private/$dir
+ install -m644 -t "${pkgdir}"/usr/include/tk-private/$dir $dir/*.h
+ done
+
+ # remove buildroot traces
+ 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