diff options
author | DuckSoft | 2020-11-15 20:05:11 +0800 |
---|---|---|
committer | DuckSoft | 2020-11-15 20:05:11 +0800 |
commit | c809cb21601141d4c7b7306ab16438050fa26c37 (patch) | |
tree | c2a3b1ae1ebce9098066b43ff40792736a5acd76 /PKGBUILD | |
parent | de767d4f1ffc3bdf3f46df8263d22cdb86c512a8 (diff) | |
download | aur-qv2ray-plugin-naiveproxy-git.tar.gz |
fix install path
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2,7 +2,7 @@ pkgname=qv2ray-plugin-naiveproxy-git _pkgname=qv2ray-plugin-naiveproxy -pkgver=20200612.r12.d924872 +pkgver=20201115.r29.932bb06 pkgrel=1 pkgdesc="Qv2ray Plugin: NaiveProxy (for Qv2ray v2.6.0-rc2+ only)" arch=('x86_64') @@ -32,13 +32,14 @@ build() { cd "$srcdir"/"$_pkgname" mkdir -p build && cd build cmake .. \ + -DCMAKE_INSTALL_PREFIX="${pkgdir}"/usr \ -DCMAKE_BUILD_TYPE=Release \ -GNinja - ninja + cmake --build . } package() { cd "$srcdir"/"$_pkgname"/build - install -Dm644 -t "$pkgdir"/usr/share/qv2ray/plugins/ libQvPlugin-NaiveProxy.so + cmake --install . # NOTE: This virtual dependency will be introduced after Qv2ray stablize its interface. # depends+=(${_virtualdepends[@]}) } |