diff options
author | Ivan Krivosheev | 2020-05-24 17:43:19 +0300 |
---|---|---|
committer | Ivan Krivosheev | 2020-05-24 17:43:19 +0300 |
commit | 4fed96cd96b8569a90ac20ab991408718532c3eb (patch) | |
tree | ca45f6eec9e686cb08e84e7f0e21160c6fc4339a | |
parent | 4b8859993b055eb2c7e8cbabfab07f85be09724f (diff) | |
download | aur-4fed96cd96b8569a90ac20ab991408718532c3eb.tar.gz |
Fix build
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -20,12 +20,11 @@ build() { build_dir="${source_dir}/build" cmake -B "${build_dir}" -S "${source_dir}" \ -DCMAKE_BUILD_TYPE='Release' \ - -DCMAKE_INSTALL_PREFIX='/usr/local/' \ + -DCMAKE_INSTALL_PREFIX='${pkgdir}usr' \ -Wno-dev cmake --build "${build_dir}" } package() { cmake --build "${pkgname}-${pkgver}/build" --target install - install -D -m644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" } |