Just updating the pkgbuild script to actually build the shared library as well as the static library.
Sync with my GitHub branch.
Sync with upstream.

 branch 'upstream/master'

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Merge branch 'master' of https://github.com/Alexpux/MINGW-packages
Fixed the pkgbuild script and added a patch.
Merge pull request #321 from DoctorWho11/master

Just updating the pkgbuild script to actually build the shared library
aria2: Now installing also aria2rpc and aria2mon scripts
Merge pull request #323 from elieux/aria2-xmlrpc

aria2: Now installing also aria2rpc and aria2mon scripts
qt5-static: Remove last patch, it's incorrect.
Merge https://github.com/stambaughw/MINGW-packages
qbs: Pretend msys toolchains are mingw

Can't see much reason to create a whole new platform
when everything should just work to consider them to
be the same.
qtcreator: Update patches for 3.3.0-beta1
qtcreator: 'msys' from 'g++ -dumpmachine' means Windows
gdal: Fix install folders
Add documentation and remove redundant install prefix from KiCad package.
Merge pull request #327 from stambaughw/master

Add docs to KiCad package.
KDEF5: kguiaddons WIP
gcc: update to 4.9.2
gcc: Force linking to libgcc_s_dw2-1.dll

.. by adding to specs:
*libgcc
--undefined=___deregister_frame_info
--undefined=___register_frame_info

These flags get added twice to the ld command line
 because of %G appearing twice in:
*link_gcc_c_sequence
%G %L %G
so this should be tidied up really.
gcc: Fix new patch, bump pkgrel