summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuckSoft2020-11-15 19:25:52 +0800
committerDuckSoft2020-11-15 19:25:52 +0800
commitbf6d719ca00c743fef624d5bd0ed2066476a5b6a (patch)
tree4f1588237c9d7fc4dd6bd4ea463d5f831500d401
parent70e52297e5dd1e4c8cb8886c14029759c4f2496b (diff)
downloadaur-qv2ray-plugin-trojan-git.tar.gz
fix install path
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4afffe72625..d931ae9a89f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = qv2ray-plugin-trojan-git
pkgdesc = Qv2ray Plugin: Trojan
- pkgver = 20200429.r26.3305c41
+ pkgver = 20200719.r44.56b7da0
pkgrel = 1
url = https://github.com/Qv2ray/QvPlugin-Trojan
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 44dc67c8bb1..6745d2a0f47 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: DuckSoft <realducksoft at gmail dot com>
pkgname=qv2ray-plugin-trojan-git
_pkgname=qv2ray-plugin-trojan
-pkgver=20200429.r26.3305c41
+pkgver=20200719.r44.56b7da0
pkgrel=1
pkgdesc="Qv2ray Plugin: Trojan"
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[@]})
}