# Contributor: Shannon Noe # Maintainer: rubicon pkgname=tclx pkgver=8.6.1 pkgrel=0 pkgdesc="TclX extension to Tcl" url="https://github.com/flightaware/tclx" arch="all" license="BSD" depends="tcl" depends_dev="tcl-dev" makedepends="$depends_dev" checkdepends="bash" subpackages="$pkgname-doc $pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/flightaware/tclx/archive/v$pkgver.tar.gz rresvport.patch process-test.patch " build() { local _64bit="--disable-64bit" case "$CARCH" in x86_64) _64bit="--enable-64bit";; esac ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-threads \ $_64bit make } check() { make test TESTFLAGS="-verbose pbtels" } package() { make -j1 DESTDIR="$pkgdir" install } sha512sums=" 4a2293aad667b108f19f837686044fc168831781d04a9f8eaa2afe677c587f1e128a536ad9db609720e0046a20ff6f8dd7a0e5dd1232ef775c5a14e24ec0614d tclx-8.6.1.tar.gz ab0c63de8c9fd6c6fca7a0901c876e013cfc76b5032f7b6dce7cad9d747d7baffd3b4b7ae6d24a34bc1c1c78dbd2bd8169eac27f9d7ed468675963e847f6917c rresvport.patch 54044611c72f0355bd906f78327605b9f350e265a185478d2e77a32a2b00ef532da8395f7571b470fc9e066ec424b18d295b1b5245e3da64dac0cf57b57f1fd1 process-test.patch "