diff options
author | pingplug | 2018-05-17 10:49:07 +0800 |
---|---|---|
committer | pingplug | 2018-05-17 10:49:07 +0800 |
commit | f215a3e6c75d273111d148992a9f8ee892dfd119 (patch) | |
tree | 5f6573f8443d2a72fc12de2597b0eee2a030c50f | |
parent | 3952659ef2669ca7a9986a209850fb6038aab8bd (diff) | |
download | aur-f215a3e6c75d273111d148992a9f8ee892dfd119.tar.gz |
use mingw-w64-wine
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = mingw-w64-rust pkgdesc = Systems programming language focused on safety, speed and concurrency (mingw-w64) pkgver = 1.26.0 - pkgrel = 1 + pkgrel = 2 url = https://www.rust-lang.org arch = x86_64 license = MIT @@ -18,7 +18,7 @@ pkgbase = mingw-w64-rust depends = curl depends = libgit2 depends = mingw-w64-gcc - optdepends = wine: for cargo test support + optdepends = mingw-w64-wine: for cargo test support options = !strip options = staticlibs options = !buildflags @@ -8,7 +8,7 @@ _pkgname=rust pkgname=mingw-w64-rust pkgver=1.26.0 -pkgrel=1 +pkgrel=2 pkgdesc="Systems programming language focused on safety, speed and concurrency (mingw-w64)" arch=('x86_64') url="https://www.rust-lang.org" @@ -17,7 +17,7 @@ depends=('gcc-libs' 'curl' 'libgit2' 'mingw-w64-gcc') -optdepends=('wine: for cargo test support') +optdepends=('mingw-w64-wine: for cargo test support') makedepends=('rust' 'gdb' 'libffi' @@ -98,7 +98,7 @@ package() { linker = "/usr/bin/i686-w64-mingw32-gcc" ar = "/usr/i686-w64-mingw32/bin/ar" EOF - if pacman -T "wine" "mingw-w64-cmake>1-18" ; then + if pacman -T "mingw-w64-wine" ; then cat << EOF >> "${pkgdir}/opt/${_pkgname}/cargo/config" runner = "/usr/bin/i686-w64-mingw32-wine" EOF @@ -116,7 +116,7 @@ EOF linker = "/usr/bin/x86_64-w64-mingw32-gcc" ar = "/usr/x86_64-w64-mingw32/bin/ar" EOF - if pacman -T "wine" "mingw-w64-cmake>1-18" ; then + if pacman -T "mingw-w64-wine" ; then cat << EOF >> "${pkgdir}/opt/${_pkgname}/cargo/config" runner = "/usr/bin/x86_64-w64-mingw32-wine" EOF |