| # Maintainer: <waruqi@gmail.com> |
| |
| _realname=xmake |
| pkgbase=mingw-w64-${_realname} |
| pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" |
| pkgver=2.5.5 |
| pkgrel=1 |
| pkgdesc="A cross-platform build utility based on Lua (mingw-w64)" |
| arch=('any') |
| mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') |
| url="https://github.com/xmake-io/xmake" |
| license=('Apache') |
| depends=("${MINGW_PACKAGE_PREFIX}-ncurses" |
| "${MINGW_PACKAGE_PREFIX}-readline") |
| makedepends=("${MINGW_PACKAGE_PREFIX}-gcc") |
| source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/xmake-io/${_realname}/releases/download/v${pkgver}/${_realname}-v${pkgver}.tar.gz") |
| sha256sums=('47537ecc53aa73783f630b85c30ae6b339cda928c509887b013c49f23b9f3528') |
| |
| build() { |
| cd "$srcdir" |
| make build |
| } |
| |
| package() { |
| cd "$srcdir" |
| make install DESTDIR="${pkgdir}" prefix="${MINGW_PREFIX}" |
| } |