diff options
author | TheSola10 | 2024-07-08 11:27:38 +0200 |
---|---|---|
committer | TheSola10 | 2024-07-08 11:27:38 +0200 |
commit | 689b56f2bd8651b0c463512943c6012fd237d676 (patch) | |
tree | 448cc8bfe2df609eda8d2c4932b4cf8d17130326 | |
parent | d5990107364ef88c94ebb3b46ccfd005ae14250d (diff) | |
download | aur-intel-ipu6ep-camera-hal-git.tar.gz |
Fixed install prefix
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -34,7 +34,7 @@ build() { -DENABLE_VIRTUAL_IPU_PIPE=OFF \ -DUSE_PG_LITE_PIPE=ON \ -DUSE_STATIC_GRAPH=OFF \ - -DCMAKE_INSTALL_PREFIX="/" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ -DLIBGCSS_FOUND=ON \ -DLIBGCSS_LIBRARY_DIRS="/usr/lib/ipu_adl" \ -DLIBGCSS_INCLUDE_DIRS="/usr/include/ipu_adl/ia_camera" \ @@ -50,7 +50,8 @@ build() { package() { DESTDIR="$pkgdir" cmake --install build mkdir -p "$pkgdir/etc/ld.so.conf.d" - mv "$pkgdir/usr/usr/lib/pkgconfig" "$pkgdir/usr/lib/" - rmdir "$pkgdir/usr/usr/lib" && rmdir "$pkgdir/usr/usr" + mv $pkgdir/usr/usr/* "$pkgdir/usr" + mv $pkgdir/usr/etc/* "$pkgdir/etc" + rmdir "$pkgdir/usr/usr" "$pkgdir/usr/etc" echo "/usr/lib/ipu_adl" > "$pkgdir/etc/ld.so.conf.d/intel-ipu6-camera-bin-adl.conf" } |