Skip to content

Chocobo1/msys2_package_downloader

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

msys2_package_downloader

Prerequisite

Install MSYS2

Usage

$ ./msys2_dl.sh --help
Fetch MSYS2 pre-built package and dependencies
MSYS2 package list: https://github.com/Alexpux/MINGW-packages
Usage: ./msys2_dl.sh [--exe-only] PACKAGE

  --exe-only 	 only executables and its dependencies (dlls) are included in the final package

Example

$ ./msys2_dl.sh --exe-only mingw-w64-x86_64-optipng
  # make sure you have enough free space!
  # this will generate a new file: mingw-w64-x86_64-optipng.tar.xz

$ tar -tf mingw-w64-x86_64-optipng.tar.xz  # let's examine the contents
bin/
bin/libatomic-1.dll  # dll dependencies (as specified in PKGBUILD)
bin/libbz2-1.dll
bin/libgcc_s_seh-1.dll
bin/libgfortran-3.dll
bin/libgmp-10.dll
bin/libgmpxx-4.dll
bin/libgomp-1.dll
bin/libminizip-1.dll
bin/libpng16-16.dll
bin/libquadmath-0.dll
bin/libssp-0.dll
bin/libstdc++-6.dll
bin/libwinpthread-1.dll
bin/optipng.exe  # the target executable
bin/zlib1.dll

Package naming

About

Fetch MSYS2 pre-built package and dependencies

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages