File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,14 @@ maintainer=("Zahrun <zahrunAtmurenaDotio>")
1212package() {
1313 cd "${pkgname}~${pkgver}"
1414 install -Dm755 "lib/lib${gives}.so.${pkgver}" -t "${pkgdir}/usr/local/lib"
15- install -Dm644 include/* -t "${pkgdir}/usr/local/include"
15+ install -Dm755 "lib/lib${gives}_*.so" -t "${pkgdir}/usr/local/lib"
16+ cp -r lib/cmake lib/pkgconfig "${pkgdir}/usr/local/lib/"
17+ sed -i s^/lib64^/lib^g \
18+ "${pkgdir}/usr/local/lib/cmake/${gives}/${gives}Targets-release.cmake" \
19+ "${pkgdir}/usr/local/lib/pkgconfig/lib${gives}.pc"
20+ mkdir -p "${pkgdir}/usr/local/include/${gives}"
21+ cp -r include/* "${pkgdir}/usr/local/include/${gives}/"
1622 install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
17- mkdir -p "${pkgdir}/usr/local/lib"
1823 ln -sf "/usr/local/lib/lib${gives}.so.${pkgver}" "${pkgdir}/usr/local/lib/lib${gives}.so"
24+ ln -sf "/usr/local/lib/lib${gives}.so.${pkgver}" "${pkgdir}/usr/local/lib/lib${gives}.so.1"
1925}
You can’t perform that action at this time.
0 commit comments