summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorWiRight2020-11-09 14:09:58 +0300
committerWiRight2020-11-09 14:09:58 +0300
commitba25ffb527445c5666b89b5495a30a1cb808407b (patch)
treef518b983ba079eda257185fdc1b09293baa24e4d /PKGBUILD
downloadaur-ba25ffb527445c5666b89b5495a30a1cb808407b.tar.gz
Update to 1.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 22 insertions, 0 deletions
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
+}