aboutsummaryrefslogtreecommitdiff
path: root/repo/ksutils-probe-client/PKGBUILD
diff options
context:
space:
mode:
authorMagomeYae <[email protected]>2021-12-05 23:28:17 +0800
committerMagomeYae <[email protected]>2021-12-05 23:28:17 +0800
commite958f8a5576b7fb22143408d65d9e09f238055ec (patch)
tree96d915fd2a533fcb2b911c7d3783c11e390f2118 /repo/ksutils-probe-client/PKGBUILD
parent1176a910efea67f40732791e7d284691967b614b (diff)
feat(add-pkg): Add ksutils-probe-client
* fix(pkg): Fix kunoisayami-repo-rsync worng page Signed-off-by: MagomeYae <[email protected]>
Diffstat (limited to 'repo/ksutils-probe-client/PKGBUILD')
-rw-r--r--repo/ksutils-probe-client/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/repo/ksutils-probe-client/PKGBUILD b/repo/ksutils-probe-client/PKGBUILD
new file mode 100644
index 0000000..2b2d51d
--- /dev/null
+++ b/repo/ksutils-probe-client/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: KunoiSayami <[email protected]>
+
+_basename=probe-client
+pkgname=ksutils-$_basename
+pkgver=2.4.0
+pkgrel=1
+pkgdesc='A probe client, for distributed systems'
+arch=('any')
+url=https://github.com/KunoiSayami/probe-client
+source=(
+ git://github.com/KunoiSayami/probe-client#tag=2.4.0
+license=('AGPL3')
+sha512sums=(
+ 'SKIP'
+ '44c2385ef74e5cd2332404151c46db1622abc3338d9ee90148dc2f86e2aa97e028a7145b5d25a00b5f5626470a14937c6f27c6bbef6d0a9b56291daabf56bdad')
+makedepends=('cargo' 'git')
+depends=('openssl')
+provides=("$_basename")
+
+build() {
+ cargo build --release
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ install -dm755 "$pkgdir"/etc/ksutils/
+ install -dm700 "$pkgdir"/etc/ksutils/probe-client/
+ install -dm755 "$pkgdir"/usr/bin
+ install -m755 target/release/"$_basename" "$pkgdir"/usr/bin/"$pkgname"
+
+ install -m644 [email protected] "$pkgdir"/lib/systemd/system
+} \ No newline at end of file