From 1735246c89dd0f64b6580ffa36e333d6768b659f Mon Sep 17 00:00:00 2001 From: Raed Rizqie Date: Mon, 2 Dec 2024 10:29:36 +0800 Subject: [PATCH] openocd: rebuild for libjaylink --- mingw-w64-openocd/PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/mingw-w64-openocd/PKGBUILD b/mingw-w64-openocd/PKGBUILD index 61566196f10af..ee6459d82d7ae 100644 --- a/mingw-w64-openocd/PKGBUILD +++ b/mingw-w64-openocd/PKGBUILD @@ -6,12 +6,12 @@ _realname=openocd pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=0.12.0 -pkgrel=2 +pkgrel=3 pkgdesc="OpenOCD - Open On-Chip Debugger (mingw-w64)" arch=('any') mingw_arch=('mingw64' 'ucrt64' 'clang64') url="https://openocd.org/" -license=("GPLv2") +license=("spdx:GPL-2.0-or-later") options=('!ccache') depends=("${MINGW_PACKAGE_PREFIX}-hidapi" "${MINGW_PACKAGE_PREFIX}-libusb" @@ -19,16 +19,17 @@ depends=("${MINGW_PACKAGE_PREFIX}-hidapi" "${MINGW_PACKAGE_PREFIX}-libjaylink" "${MINGW_PACKAGE_PREFIX}-capstone") makedepends=("${MINGW_PACKAGE_PREFIX}-cc" - "${MINGW_PACKAGE_PREFIX}-autotools") + "${MINGW_PACKAGE_PREFIX}-libtool" + "${MINGW_PACKAGE_PREFIX}-pkgconf") source=("https://downloads.sourceforge.net/sourceforge/${_realname}/${_realname}-${pkgver}.tar.bz2") sha256sums=("af254788be98861f2bd9103fe6e60a774ec96a8c374744eef9197f6043075afa") build() { - cd "${srcdir}"/${_realname}-${pkgver} + cd ${_realname}-${pkgver} ./configure \ --prefix=${MINGW_PREFIX} \ - --{build,host}=${MINGW_CHOST} \ + --build=${MINGW_CHOST} \ --disable-dependency-tracking \ --disable-werror \ --disable-internal-libjaylink \ @@ -44,7 +45,7 @@ build() { } package() { - cd "${srcdir}"/${_realname}-${pkgver} + cd ${_realname}-${pkgver} make DESTDIR="${pkgdir}" install install -Dm644 COPYING ${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING