[arch-commits] Commit in tk/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Sun Sep 17 20:26:58 UTC 2017
Date: Sunday, September 17, 2017 @ 20:26:56
Author: arojas
Revision: 305735
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
tk/repos/extra-i686/PKGBUILD
(from rev 305734, tk/trunk/PKGBUILD)
tk/repos/extra-x86_64/PKGBUILD
(from rev 305734, tk/trunk/PKGBUILD)
Deleted:
tk/repos/extra-i686/PKGBUILD
tk/repos/extra-x86_64/PKGBUILD
-----------------------+
/PKGBUILD | 92 ++++++++++++++++++++++++++++++++++++++++++++++++
extra-i686/PKGBUILD | 39 --------------------
extra-x86_64/PKGBUILD | 39 --------------------
3 files changed, 92 insertions(+), 78 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2017-09-17 20:26:23 UTC (rev 305734)
+++ extra-i686/PKGBUILD 2017-09-17 20:26:56 UTC (rev 305735)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=tk
-pkgver=8.6.7
-pkgrel=1
-pkgdesc="A windowing toolkit for use with tcl"
-arch=('i686' 'x86_64')
-url="http://tcl.sourceforge.net/"
-license=('custom')
-depends=("tcl=${pkgver}" 'libxss' 'libxft')
-options=('staticlibs')
-source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('eb58b4523f376fdf8b1f4439a958227ada52e2c8')
-
-build() {
- cd tk${pkgver}/unix
- [[ $CARCH == "x86_64" ]] && BIT="--enable-64bit"
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-rpath $BIT
- 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"
-
- # 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-i686/PKGBUILD (from rev 305734, tk/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-09-17 20:26:56 UTC (rev 305735)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=tk
+pkgver=8.6.7
+pkgrel=2
+pkgdesc="A windowing toolkit for use with tcl"
+arch=('i686' 'x86_64')
+url="http://tcl.sourceforge.net/"
+license=('custom')
+depends=("tcl=${pkgver}" 'libxss' 'libxft')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('eb58b4523f376fdf8b1f4439a958227ada52e2c8')
+
+build() {
+ cd tk${pkgver}/unix
+ [[ $CARCH == "x86_64" ]] && BIT="--enable-64bit"
+ ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-rpath $BIT
+ 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"
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2017-09-17 20:26:23 UTC (rev 305734)
+++ extra-x86_64/PKGBUILD 2017-09-17 20:26:56 UTC (rev 305735)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=tk
-pkgver=8.6.7
-pkgrel=1
-pkgdesc="A windowing toolkit for use with tcl"
-arch=('i686' 'x86_64')
-url="http://tcl.sourceforge.net/"
-license=('custom')
-depends=("tcl=${pkgver}" 'libxss' 'libxft')
-options=('staticlibs')
-source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('eb58b4523f376fdf8b1f4439a958227ada52e2c8')
-
-build() {
- cd tk${pkgver}/unix
- [[ $CARCH == "x86_64" ]] && BIT="--enable-64bit"
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-rpath $BIT
- 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"
-
- # 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 305734, tk/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2017-09-17 20:26:56 UTC (rev 305735)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=tk
+pkgver=8.6.7
+pkgrel=2
+pkgdesc="A windowing toolkit for use with tcl"
+arch=('i686' 'x86_64')
+url="http://tcl.sourceforge.net/"
+license=('custom')
+depends=("tcl=${pkgver}" 'libxss' 'libxft')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('eb58b4523f376fdf8b1f4439a958227ada52e2c8')
+
+build() {
+ cd tk${pkgver}/unix
+ [[ $CARCH == "x86_64" ]] && BIT="--enable-64bit"
+ ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-rpath $BIT
+ 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