grim/containers/msys2-cross

Parents 0df790c2956e
Children 55dbb14297ba
Add a README.md and a helper script so we don't have to keep typing `--root /windows`
  • +24 -0
    README
  • +5 -0
    bin/pacman-cross
  • --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/README Mon Nov 19 00:39:09 2018 -0600
    @@ -0,0 +1,24 @@
    +# msys2-cross
    +
    +This image contains everything you need to create a windows bundles from msys2
    +packages. It was built to help with [Pidgin3](https://pidgin.im) development
    +as most of use tend to use Linux and don't readily have a Windows machine
    +available.
    +
    +This image uses
    +[pacman-static](https://aur.archlinux.org/packages/pacman-static/) and a bunch
    +of helper files from [mingw64-base](http://repo.msys2.org/distrib/x86_64/) to
    +make this all work.
    +
    +# Howto
    +
    +It setups up a new empty root in `/windows` which can be modified using
    +`pacman-cross` which just runs `pacman --root /windows $@`. After installing
    +packages you can extract the files by any means you like from
    +`/windows/mingw32` or `/windows/mingw64` depending on which packages you
    +installed.
    +
    +This image was built to be run in
    +[convey](https://bitbucket.org/rw_grim/convey) pipelines, but can we used
    +where ever.
    +
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/bin/pacman-cross Mon Nov 19 00:39:09 2018 -0600
    @@ -0,0 +1,5 @@
    +#!/bin/sh
    +
    +pacman --root /windows $@
    +exit $?
    +