summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 25400b84d40..989b5adfe9f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = qv2ray-plugin-command-dev-git
pkgdesc = Qv2ray Plugin: Command (Development Build)
- pkgver = 20200425.r5.59450df
+ pkgver = 20201115.r21.566fe69
pkgrel = 1
url = https://github.com/Qv2ray/QvPlugin-Command
arch = x86_64
@@ -17,7 +17,7 @@ pkgbase = qv2ray-plugin-command-dev-git
depends = qv2ray
provides = qv2ray-plugin-command
conflicts = qv2ray-plugin-command
- source = qv2ray-plugin-command::git+https://github.com/Qv2ray/QvPlugin-Command
+ source = qv2ray-plugin-command::git+https://github.com/Qv2ray/QvPlugin-Command#branch=dev
sha512sums = SKIP
pkgname = qv2ray-plugin-command-dev-git
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[@]})
}