diff options
author | DuckSoft | 2020-11-15 19:22:24 +0800 |
---|---|---|
committer | DuckSoft | 2020-11-15 19:22:24 +0800 |
commit | 32a654afeb8caa28157723d7345497a588fe4219 (patch) | |
tree | 45a9c7cb8f0e1a3dd5321973b0ea5dcbd30ce4d8 | |
parent | 16e125a2903266f7dec2aa2da4906512ed9a52f9 (diff) | |
download | aur-qv2ray-plugin-trojan-dev-git.tar.gz |
fix install path problem
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = qv2ray-plugin-trojan-dev-git pkgdesc = Qv2ray Plugin: Trojan (Development Build) - pkgver = 20200429.r26.3305c41 + pkgver = 20201101.r52.d646bc1 pkgrel = 1 url = https://github.com/Qv2ray/QvPlugin-Trojan arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: DuckSoft <realducksoft at gmail dot com> pkgname=qv2ray-plugin-trojan-dev-git _pkgname=qv2ray-plugin-trojan -pkgver=20200429.r26.3305c41 +pkgver=20201101.r52.d646bc1 pkgrel=1 pkgdesc="Qv2ray Plugin: Trojan (Development Build)" arch=('x86_64') @@ -30,14 +30,15 @@ build() { cd "$srcdir"/"$_pkgname" mkdir -p build && cd build cmake .. \ + -DCMAKE_INSTALL_PREFIX="${pkgdir}"/usr \ -DCMAKE_BUILD_TYPE=Release \ -DFORCE_TCP_FASTOPEN=ON \ -GNinja - ninja + cmake --build . } package() { cd "$srcdir"/"$_pkgname"/build - install -Dm644 libQvTrojanPlugin.so "$pkgdir"/usr/share/qv2ray/plugins/libQvTrojanPlugin.so + cmake --install . # NOTE: This virtual dependency will be introduced after Qv2ray stablize its interface. # depends+=(${_virtualdepends[@]}) } |