浏览代码

[trunk] -> [extra] 'tk-8.6.9.1-2' add

master
artoo 2 个月前
父节点
当前提交
8afc24d64d
签署人:: artoo <artoo@artixlinux.org> GPG 密钥 ID: 3292CD0BB0DB310B
共有 2 个文件被更改,包括 18 次插入18 次删除
  1. 9
    9
      tk/repos/extra-x86_64/PKGBUILD
  2. 9
    9
      tk/trunk/PKGBUILD

+ 9
- 9
tk/repos/extra-x86_64/PKGBUILD 查看文件

@@ -1,33 +1,33 @@
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=tk
pkgver=8.6.9
pkgver=8.6.9.1
pkgrel=2
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=${pkgver%.*}" 'libxss' 'libxft')
options=('staticlibs')
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
sha256sums=('d3f9161e8ba0f107fe8d4df1f6d3a14c30cc3512dfc12a795daa367a27660dac')
source=(https://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
sha256sums=('8fcbcd958a8fd727e279f4cac00971eee2ce271dc741650b1fc33375fb74ebb4')

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)

+ 9
- 9
tk/trunk/PKGBUILD 查看文件

@@ -1,33 +1,33 @@
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=tk
pkgver=8.6.9
pkgver=8.6.9.1
pkgrel=2
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=${pkgver%.*}" 'libxss' 'libxft')
options=('staticlibs')
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
sha256sums=('d3f9161e8ba0f107fe8d4df1f6d3a14c30cc3512dfc12a795daa367a27660dac')
source=(https://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
sha256sums=('8fcbcd958a8fd727e279f4cac00971eee2ce271dc741650b1fc33375fb74ebb4')

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)

正在加载...
取消
保存