diff --git a/mingw-w64-libsigc++/PKGBUILD b/mingw-w64-libsigc++/PKGBUILD index fd212fd5ec..e9190fcc63 100644 --- a/mingw-w64-libsigc++/PKGBUILD +++ b/mingw-w64-libsigc++/PKGBUILD @@ -4,10 +4,10 @@ _realname=libsigc++ pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=2.10.6 -pkgrel=1 +pkgrel=2 pkgdesc="Libsigc++ implements a full callback system for use in widget libraries - V2 (mingw-w64)" arch=('any') -url="https://libsigc.sourceforge.io/" +url="https://libsigcplusplus.github.io/libsigcplusplus/" license=("LGPL") makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" "${MINGW_PACKAGE_PREFIX}-meson" @@ -17,27 +17,34 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" "${MINGW_PACKAGE_PREFIX}-pkg-config") depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs") options=('staticlibs' 'strip') -source=("https://download.gnome.org/sources/libsigc++/${pkgver%.*}/libsigc++-${pkgver}.tar.xz") +source=("https://github.com/libsigcplusplus/libsigcplusplus/releases/download/${pkgver}/${_realname}-${pkgver}.tar.xz") sha256sums=('dda176dc4681bda9d5a2ac1bc55273bdd381662b7a6d49e918267d13e8774e1b') +prepare() { + cd "${srcdir}/${_realname}-${pkgver}" + +} + build() { [[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}" mkdir -p "${srcdir}/build-${MINGW_CHOST}" && cd "${srcdir}/build-${MINGW_CHOST}" MSYS2_ARG_CONV_EXCL="--prefix=" \ - meson \ + ${MINGW_PREFIX}/bin/meson.exe \ --prefix="${MINGW_PREFIX}" \ --buildtype plain \ + --wrap-mode=nofallback \ + -Dauto_features=enabled \ -Dbuild-documentation=true \ --default-library both \ - ../${_realname}-${pkgver} + "../${_realname}-${pkgver}" - ninja + ${MINGW_PREFIX}/bin/ninja.exe } package() { cd "${srcdir}/build-${MINGW_CHOST}" - DESTDIR="${pkgdir}" ninja install + DESTDIR="${pkgdir}" ${MINGW_PREFIX}/bin/ninja.exe install install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING" }