summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorarcnmx2018-03-29 20:20:49 -0400
committerarcnmx2018-03-29 22:52:03 -0400
commitf542f72763496800a73145875a73ce394cc26804 (patch)
treeba1b020de780d0631b7cd7184054137d3a1d0122
downloadaur-f542f72763496800a73145875a73ce394cc26804.tar.gz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD27
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dbd140b992c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = msvc-wine-rust-git
+ pkgdesc = Cross compile Rust programs to the MSVC Windows target using Wine
+ pkgver = r9.fcd20a1
+ pkgrel = 1
+ url = https://github.com/est31/msvc-wine-rust
+ arch = any
+ license = MIT
+ depends = p7zip
+ depends = wine>=2.21
+ depends = msitools>0.97
+ source = git+https://github.com/est31/msvc-wine-rust.git
+ md5sums = SKIP
+
+pkgname = msvc-wine-rust-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..a6cfe198291
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/src/
+/pkg/
+/msvc-wine-rust/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..faf3a3466ff
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+pkgname=msvc-wine-rust-git
+_gitname=msvc-wine-rust
+pkgver=r9.fcd20a1
+pkgrel=1
+pkgdesc="Cross compile Rust programs to the MSVC Windows target using Wine"
+url="https://github.com/est31/${_gitname}"
+license=(MIT)
+depends=('p7zip' 'wine>=2.21' 'msitools>0.97')
+arch=(any)
+source=("git+https://github.com/est31/${_gitname}.git")
+
+pkgver() {
+ cd "${srcdir}/${_gitname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${_gitname}"
+ ./get.sh
+}
+
+package() {
+ install -Dm755 "${srcdir}/${_gitname}/linker.sh" "${pkgdir}/usr/bin/link.exe"
+}
+
+# makepkg -g >> PKGBUILD
+md5sums=('SKIP')