See https://github.com/msys2/MINGW-packages/pull/21998
and 89521b9f8d
This is the first batch of removals to start things off.
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Maintainer: Oscar Fuentes <ofv@wanadoo.es>
|
|
|
|
_realname=ducible
|
|
pkgbase=mingw-w64-${_realname}
|
|
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
|
pkgver=1.2.1
|
|
pkgrel=2
|
|
pkgdesc="A tool to make Windows builds reproducible."
|
|
arch=('any')
|
|
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
|
conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}-git")
|
|
replaces=("${MINGW_PACKAGE_PREFIX}-${_realname}-git")
|
|
url="https://github.com/jasonwhite/ducible"
|
|
license=("MIT")
|
|
makedepends=("${MINGW_PACKAGE_PREFIX}-cc" "git" "${MINGW_PACKAGE_PREFIX}-python3")
|
|
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs")
|
|
source=("${_realname}"::"git+https://github.com/jasonwhite/ducible.git#tag=v${pkgver}"
|
|
"0001-missing-include.patch")
|
|
sha256sums=('SKIP'
|
|
'd9c7b6b29de5545e17399829ed95af241cdac3a351de895d5d32062c3115a713')
|
|
|
|
prepare() {
|
|
cd "$srcdir/${_realname}"
|
|
|
|
patch -Np1 -i ../0001-missing-include.patch
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/${_realname}"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_realname}"
|
|
mkdir -p "$pkgdir"${MINGW_PREFIX}/bin
|
|
cp ducible.exe "$pkgdir"${MINGW_PREFIX}/bin
|
|
}
|