winpty: makedep only on the needed cross compiler

and remove an outdated comment, the -git variants are gone
This commit is contained in:
Christoph Reiter 2024-09-09 09:27:43 +02:00
parent 2876b9d725
commit b0594b884d

View File

@ -6,18 +6,17 @@
_realname=winpty _realname=winpty
pkgname="${_realname}" pkgname="${_realname}"
pkgver=0.4.3 pkgver=0.4.3
pkgrel=2 pkgrel=3
pkgdesc="A Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs" pkgdesc="A Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="https://github.com/rprichard/winpty" url="https://github.com/rprichard/winpty"
license=('MIT') license=('MIT')
makedepends=(tar 'autotools' xz gcc)
# Explicitly reference the git version of the indirect dependency mingw-w64-cross-crt if [[ "${CARCH}" == 'i686' ]]; then
# for avoiding problems with its default provider mingw-w64-cross-crt-clang-git makedepends+=('mingw-w64-cross-mingw32-gcc')
makedepends=(git tar 'autotools' xz gcc else
mingw-w64-cross-gcc makedepends+=('mingw-w64-cross-mingw64-gcc')
mingw-w64-cross-crt) fi
#depends=( "ncurses-devel" ) #depends=( "ncurses-devel" )
replaces=("winpty-git") replaces=("winpty-git")
options=('staticlibs' 'strip') options=('staticlibs' 'strip')