PKGBUILDs for various free and/or OSS packages
This is a set of PKGBUILD-based recipes for downloading and packaging free Windows software. It integrates with MSYS2 and its package manager pacman (ported from Arch Linux).
I'm not a lawyer and I'm definitely not familiar with the laws of every country, so the claims I make here about licenses and copyright may be not applicable to you or just plain wrong. Don't hold me responsible for any damage or lawsuits based on using this repository.
The recipes are free to use and modify by anyone, but I'd be glad if all improvements make it to my repository. If you need a specific license, create a ticket or contact me.
The applications are under various licenses, including both OSI-certified licenses and EULAs. Hopefully, no license can prevent making these recipes.
There will never be a public repository with built packages because many licenses forbid re-distributing binaries. You can make a private binary repository for yourself though.
app-packages
repository (or download a snapshot).PATH
so it contains only msys (but not mingw) and Windows system directories. You can do it this way:set MSYS2_PATH_TYPE=minimal
.C:\msys64\msys2_shell.cmd
(change this path if you installed MSYS2 elsewhere).makepkg
.pacman
.pacman -U <pkgfile>.pkg.tar.*
.msvc*.dll
, mfc*.dll
, atl*.dll
. msvb*.dll
.$source
doesn't use $pkgver
, create a pkgver()
function. If the URL in $source
is dependent on version, but unpredictable, use a $_realver
.prepare()
is for extracting and various file manipulations; anything complex like silent installs go into build()
.package()
. This way makepkg doesn't consider them as build dependencies.$srcdir
and don't change it much.prepare()
in pkgver()
.$source
and don't leave version numbers in them.package()
and then move or delete what's necessary. This way, if there's a new file upstream, it won't get overlooked.man PKGBUILD
in MSYS2 shell