msys2: use mingw32-make

This commit is contained in:
umarcor 2020-12-01 16:27:21 +01:00
parent 7419875e2f
commit 2f86923c71
1 changed files with 3 additions and 3 deletions

View File

@ -21,17 +21,17 @@ build() {
./configure \
--prefix="${MINGW_PREFIX}" \
--host="$CARCH"-w64-mingw32
make
mingw32-make
}
check() {
cd "${srcdir}"/../..
make check
mingw32-make check
}
package() {
cd "${srcdir}"/../..
make DESTDIR="${pkgdir}" install
mingw32-make DESTDIR="${pkgdir}" install
mkdir -p "${pkgdir}${MINGW_PREFIX}/share/doc/${_realname}"
mv "${pkgdir}${MINGW_PREFIX}"/*.pdf "${pkgdir}${MINGW_PREFIX}/share/doc/${_realname}"
}