diff options
author | inhzus | 2022-08-28 07:02:41 +0000 |
---|---|---|
committer | inhzus | 2022-08-28 07:02:41 +0000 |
commit | 78839e2b84f8eb2c6c1381c054e842398e69484c (patch) | |
tree | dd90e9309acc2454cc304661c3c4de72b06166f4 /PKGBUILD | |
parent | 525b9a2b961d4d196115420c7b60ef131cb70b81 (diff) | |
download | aur-onnxruntime-lib-git.tar.gz |
Fix onnxruntime header path
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgname=onnxruntime-lib-git pkgver=1.12.1 -pkgrel=2 +pkgrel=3 pkgdesc="ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator" arch=('x86_64') url="https://www.onnxruntime.ai/" @@ -17,16 +17,16 @@ options=() source=("https://github.com/microsoft/onnxruntime/releases/download/v${pkgver}/onnxruntime-linux-x64-${pkgver}.tgz" "$pkgname.zip::https://github.com/microsoft/onnxruntime/archive/refs/heads/main.zip") noextract=() -md5sums=('SKIP' - 'SKIP') +md5sums=('31f1cc5d934682459aaa2abb2b7ebc0f' + '8722efaefed3071ad4a7124f6fdf404a') # Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for # a description of each element in the source array. package() { - mkdir -p "${pkgdir}/usr/include" + mkdir -p "${pkgdir}/usr/include/onnxruntime" mkdir -p "${pkgdir}/usr/lib" - cp -r "${srcdir}/onnxruntime-main/include"/* "${pkgdir}/usr/include/" - cp "${srcdir}/onnxruntime-linux-x64-${pkgver}/include"/* "${pkgdir}/usr/include/" + cp -r "${srcdir}/onnxruntime-main/include/onnxruntime"/* "${pkgdir}/usr/include/onnxruntime" + cp -r "${srcdir}/onnxruntime-linux-x64-${pkgver}/include"/* "${pkgdir}/usr/include/onnxruntime" cp "${srcdir}/onnxruntime-linux-x64-${pkgver}/lib"/* "${pkgdir}/usr/lib/" } |