summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormvidaldp2021-01-12 03:37:35 +0100
committermvidaldp2021-01-12 03:37:35 +0100
commit6eab7f2dd99ed7a2beb11e490a4fdd925b89d8c1 (patch)
tree7aa6fe9a948ed51106098d4928e8498aea85404a
parent34a4849d15ea246dc7f3f76b68e7729a8fdced01 (diff)
downloadaur-6eab7f2dd99ed7a2beb11e490a4fdd925b89d8c1.tar.gz
Fix paths and targets
-rw-r--r--PKGBUILD42
1 files changed, 23 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d4342a028af..45a30908691 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,28 +29,32 @@ build() {
package() {
make -C "${pkgname}-${pkgver}/build" DESTDIR="$pkgdir" install
-
+
mkdir -p "${pkgdir}/opt/LSL/bin"
mkdir -p "${pkgdir}/opt/LSL/include/lsl"
mkdir -p "${pkgdir}/opt/LSL/lib"
mkdir -p "${pkgdir}/opt/LSL/share/licenses"
-
- ln -rsT "${pkgdir}/usr/bin/lslver" "${pkgdir}/opt/LSL/bin/lslver"
- ln -rsT "${pkgdir}/usr/include/lsl_c.h" "${pkgdir}/opt/LSL/include/lsl_c.h"
- ln -rsT "${pkgdir}/usr/include/lsl_cpp.h" "${pkgdir}/opt/LSL/include/lsl_cpp.h"
- ln -rsT "${pkgdir}/usr/include/lsl/common.h" "${pkgdir}/opt/LSL/include/lsl/common.h"
- ln -rsT "${pkgdir}/usr/include/lsl/inlet.h" "${pkgdir}/opt/LSL/include/lsl/inlet.h"
- ln -rsT "${pkgdir}/usr/include/lsl/outlet.h" "${pkgdir}/opt/LSL/include/lsl/outlet.h"
- ln -rsT "${pkgdir}/usr/include/lsl/resolver.h" "${pkgdir}/opt/LSL/include/lsl/resolver.h"
- ln -rsT "${pkgdir}/usr/include/lsl/streaminfo.h" "${pkgdir}/opt/LSL/include/lsl/streaminfo.h"
- ln -rsT "${pkgdir}/usr/include/lsl/types.h" "${pkgdir}/opt/LSL/include/lsl/types.h"
- ln -rsT "${pkgdir}/usr/include/lsl/xml.h" "${pkgdir}/opt/LSL/include/lsl/xml.h"
+ mkdir -p "${pkgdir}/usr/share/LSL/licenses"
+
+ ln -rs "${pkgdir}/usr/bin/lslver" -t "${pkgdir}/opt/LSL/bin"
+ ln -rs "${pkgdir}/usr/include/lsl_c.h" -t "${pkgdir}/opt/LSL/include"
+ ln -rs "${pkgdir}/usr/include/lsl_cpp.h" -t "${pkgdir}/opt/LSL/include"
+ ln -rs "${pkgdir}/usr/include/lsl/common.h" -t "${pkgdir}/opt/LSL/include/lsl"
+ ln -rs "${pkgdir}/usr/include/lsl/inlet.h" -t "${pkgdir}/opt/LSL/include/lsl"
+ ln -rs "${pkgdir}/usr/include/lsl/outlet.h" -t "${pkgdir}/opt/LSL/include/lsl"
+ ln -rs "${pkgdir}/usr/include/lsl/resolver.h" -t "${pkgdir}/opt/LSL/include/lsl"
+ ln -rs "${pkgdir}/usr/include/lsl/streaminfo.h" -t "${pkgdir}/opt/LSL/include/lsl"
+ ln -rs "${pkgdir}/usr/include/lsl/types.h" -t "${pkgdir}/opt/LSL/include/lsl"
+ ln -rs "${pkgdir}/usr/include/lsl/xml.h" -t "${pkgdir}/opt/LSL/include/lsl"
ln -rsT "${pkgdir}/usr/lib/${pkgname}.so.${pkgver}" "${pkgdir}/opt/LSL/lib/${pkgname}.so.${pkgver}"
- ln -rsT "${pkgdir}/opt/LSL/lib/${pkgname}.so.${pkgver}" "${pkgdir}/opt/LSL/lib/${pkgname}.so"
-
- install -D -m644 "${pkgdir}/usr/share/LSL/LSLCMake.cmake" -t "${pkgdir}/opt/LSL/LSLCMake.cmake"
- install -D -m644 "${pkgdir}/usr/share/LSL/LSLConfig.cmake" -t "${pkgdir}/opt/LSL/LSLConfig.cmake"
- install -D -m644 "${pkgdir}/usr/share/LSL/LSLConfigVersion.cmake" -t "${pkgdir}/opt/LSL/LSLConfigVersion.cmake"
- install -D -m644 "${pkgdir}/usr/share/LSL/LSLTargets-none.cmake" -t "${pkgdir}/opt/LSL/LSLTargets-none.cmake"
- install -D -m644 "${pkgdir}/usr/share/LSL/LSLTargets.cmake" -t "${pkgdir}/opt/LSL/LSLTargets.cmake"
+ ln -rsT "${pkgdir}/opt/LSL/lib/${pkgname}.so.${pkgver}" "${pkgdir}/opt/LSL/lib/${pkgname}.so"
+
+ install -D -m644 "${pkgdir}/usr/share/LSL/LSLCMake.cmake" -t "${pkgdir}/opt/LSL/share"
+ install -D -m644 "${pkgdir}/usr/share/LSL/LSLConfig.cmake" -t "${pkgdir}/opt/LSL/share"
+ install -D -m644 "${pkgdir}/usr/share/LSL/LSLConfigVersion.cmake" -t "${pkgdir}/opt/LSL/share"
+ install -D -m644 "${pkgdir}/usr/share/LSL/LSLTargets-none.cmake" -t "${pkgdir}/opt/LSL/share"
+ install -D -m644 "${pkgdir}/usr/share/LSL/LSLTargets.cmake" -t "${pkgdir}/opt/LSL/share"
+
+ install -D -m644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/opt/LSL/share/licenses"
+ install -D -m644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/LSL/licenses"
} \ No newline at end of file