diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/tk/APKBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/main/tk/APKBUILD b/main/tk/APKBUILD index b748eeeda4..510b34d8ee 100644 --- a/main/tk/APKBUILD +++ b/main/tk/APKBUILD @@ -1,10 +1,11 @@ # Maintainer: Isaac Dunham <ibid.ag@gmail.com> pkgname=tk pkgver=8.6.6 -pkgrel=1 +pkgrel=2 pkgdesc="GUI toolkit for the Tcl scripting language" url="http://tcl.sourceforge.net/" arch="all" +options="!check" # Requires a running X11 server. license="TCL" depends= depends_dev="tcl-dev libx11-dev libxft-dev fontconfig-dev" @@ -28,18 +29,18 @@ build() { --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ - $_64bit \ - || return 1 - make || return 1 + $_64bit + make } package() { cd "$builddir" export LD_LIBRARY_PATH="$builddir" - make -j1 INSTALL_ROOT="${pkgdir}" install install-private-headers || return 1 + make -j1 INSTALL_ROOT="${pkgdir}" install install-private-headers ln -sf wish${_major} "${pkgdir}"/usr/bin/wish - install -Dm644 ../license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -Dm644 ../license.terms \ + ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE # remove buildroot traces find "$pkgdir" -name '*Config.sh' | xargs sed -i -e "s#${srcdir}#/usr/src#" @@ -47,7 +48,7 @@ package() { # move demos to -doc directory mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples/ mv "$pkgdir"/usr/lib/tk${_major}/demos/ \ - "$pkgdir"/usr/share/doc/$pkgname/examples/ || return 1 + "$pkgdir"/usr/share/doc/$pkgname/examples/ } dev() { @@ -55,10 +56,8 @@ dev() { cd $pkgdir for i in $(find . -name '*.c' -o -name '*Config.sh'); do mkdir -p "$subpkgdir"/${i%/*} - mv $i "$subpkgdir"/${i%/*}/ || return 1 + mv $i "$subpkgdir"/${i%/*}/ done } -md5sums="dd7dbb3a6523c42d05f6ab6e86096e99 tk8.6.6-src.tar.gz" -sha256sums="d62c371a71b4744ed830e3c21d27968c31dba74dd2c45f36b9b071e6d88eb19d tk8.6.6-src.tar.gz" sha512sums="223c72ab5a6f6040928c56843598b878efafab44ed4152a38e68aa2800f2c181adc50a8bf23279b7d446493eec43854920e8b649b6a34ecdf31ecc07ccc74044 tk8.6.6-src.tar.gz" |