summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDuckSoft2020-11-15 19:54:17 +0800
committerDuckSoft2020-11-15 19:54:21 +0800
commit55c94f8b4d5eadd62a801d4a8cfd83ceccd6c4bd (patch)
tree61aeb0edc3b8477a02484c9d80124d87b34ba8f1 /PKGBUILD
parent5a2d41a6a57d16b64498b55cba64380c26f77e0d (diff)
downloadaur-qv2ray-plugin-command-dev-git.tar.gz
fix install target
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a3f53e930d7..552bdc589fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: DuckSoft <realducksoft at gmail dot com>
pkgname=qv2ray-plugin-command-dev-git
_pkgname=qv2ray-plugin-command
-pkgver=20200517.r6.9ab40d3
+pkgver=20201115.r21.566fe69
pkgrel=1
pkgdesc="Qv2ray Plugin: Command (Development Build)"
arch=('x86_64')
@@ -30,13 +30,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 libQvCommandPlugin.so "$pkgdir"/usr/share/qv2ray/plugins/libQvCommandPlugin.so
+ cmake --install .
# NOTE: This virtual dependency will be introduced after Qv2ray stablize its interface.
# depends+=(${_virtualdepends[@]})
}