summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpingplug2018-05-17 10:49:07 +0800
committerpingplug2018-05-17 10:49:07 +0800
commitf215a3e6c75d273111d148992a9f8ee892dfd119 (patch)
tree5f6573f8443d2a72fc12de2597b0eee2a030c50f
parent3952659ef2669ca7a9986a209850fb6038aab8bd (diff)
downloadaur-f215a3e6c75d273111d148992a9f8ee892dfd119.tar.gz
use mingw-w64-wine
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a6b7c98bb7..8085ba6ed5d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 6becf49886c..a30417d9e9e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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