diff --git a/mingw-w64-libspectre/PKGBUILD b/mingw-w64-libspectre/PKGBUILD index 66ac9c49db..fb48efb457 100644 --- a/mingw-w64-libspectre/PKGBUILD +++ b/mingw-w64-libspectre/PKGBUILD @@ -33,10 +33,9 @@ prepare() { } build() { - mkdir -p build-${MINGW_CHOST} - cd build-${MINGW_CHOST} + cd ${_realname}-${pkgver} - ../${_realname}-${pkgver}/configure \ + ./configure \ --host=${MINGW_CHOST} \ --target=${MINGW_CHOST} \ --build=${MINGW_CHOST} \ @@ -47,6 +46,7 @@ build() { } package() { - cd "${srcdir}/build-${MINGW_CHOST}" + cd ${_realname}-${pkgver} + make DESTDIR=${pkgdir} install }