summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD22
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3e9264fb96f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = drpc
+ pkgdesc = JsonRPC cli client. Small and faster
+ pkgver = 1.0.0
+ pkgrel = 0
+ url = https://github.com/DizoftTeam/dron
+ arch = x86_64
+ license = Apache
+ makedepends = go
+ makedepends = git
+ source = drpc-1.0.0.tar.gz::https://github.com/DizoftTeam/drpc/archive/1.0.0.tar.gz
+ md5sums = 6a3da507c299b9e5abfee97bd685423b
+
+pkgname = drpc
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..0c3c09e04fc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+.idea
+.code
+.vscode
+.DS_Store
+
+drpc*
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5d10dda8a2f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: WiRight <ruslan.mahin1@gmail.com>
+# Dizoft Team
+
+pkgname=drpc
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="JsonRPC cli client. Small and faster"
+arch=('x86_64')
+url="https://github.com/DizoftTeam/dron"
+license=('Apache')
+makedepends=('go' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/DizoftTeam/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('6a3da507c299b9e5abfee97bd685423b')
+
+build() {
+ cd "$pkgname-$pkgver"
+ go build -o drpc ./main.go
+}
+
+package() {
+ install -Dm755 "$srcdir/$pkgname-$pkgver/"drpc "$pkgdir"/usr/local/bin/drpc
+}