Skip to content

Commit

Permalink
libipt update to 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GitMensch authored and MehdiChinoune committed Jan 21, 2025
1 parent 258f6e3 commit f28bc9e
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions mingw-w64-libipt/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# Maintainer: Simon Sobisch /~https://github.com/GitMensch

_realname=libipt
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgbase="mingw-w64-${_realname}"
pkgver=2.1.1
pkgver=2.1.2
pkgrel=1
pkgdesc='Intel(R) Processor Trace decoder library (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64')
mingw_arch=('mingw64' 'ucrt64' 'clang64')
url='/~https://github.com/intel/libipt'
license=('spdx:BSD-3-Clause')
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
# 'pandoc' # Only required for building the manpage, we likely don't want that
"${MINGW_PACKAGE_PREFIX}-cc"
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-cmake"
#'pandoc' # Only required for building the manpage, we likely don't want that
'git')
source=("${_realname}"::"git+${url}#tag=v${pkgver}")
sha256sums=('SKIP')
source=("${url}/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz")
sha256sums=('713d3e76b6c3073b122a9f5b6c025bc301a0436582f132caf782814363acf60f')

build() {
mkdir -p "${srcdir}/build-${MSYSTEM}" && cd "${srcdir}/build-${MSYSTEM}"
Expand All @@ -40,7 +42,7 @@ build() {
-DPTXED=OFF \
-DSIDEBAND=ON \
-DCMAKE_C_FLAGS="-D__STDC_NO_THREADS__" \
../${_realname}
../${_realname}-${pkgver}

"${MINGW_PREFIX}"/bin/cmake.exe --build .
}
Expand All @@ -56,6 +58,8 @@ package() {

DESTDIR="${pkgdir}" "${MINGW_PREFIX}"/bin/cmake.exe --install .

install -Dm644 "${srcdir}/${_realname}/README" "${pkgdir}${MINGW_PREFIX}/share/doc/${_realname}/README"
install -Dm644 "${srcdir}/${_realname}/LICENSE" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE"
install -Dm644 "${srcdir}/${_realname}-${pkgver}/README" \
"${pkgdir}${MINGW_PREFIX}/share/doc/${_realname}/README"
install -Dm644 "${srcdir}/${_realname}-${pkgver}/LICENSE" \
"${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE"
}

0 comments on commit f28bc9e

Please sign in to comment.