summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWiRight2020-11-03 13:28:25 +0300
committerWiRight2020-11-03 13:28:25 +0300
commit93c856397121cd00dcabe5dc49f0435d7e72256f (patch)
treebfb077a9af9e15a55a0ae72a68a9460baebcd820
downloadaur-93c856397121cd00dcabe5dc49f0435d7e72256f.tar.gz
initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD22
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..70641d27ed4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = dron
+ pkgdesc = Small command line shell executor
+ pkgver = 1.1.0
+ pkgrel = 1
+ url = https://github.com/DizoftTeam/dron
+ arch = x86_64
+ license = Apache
+ makedepends = go
+ makedepends = git
+ source = dron-1.1.0.tar.gz::https://github.com/DizoftTeam/dron/archive/1.1.0.tar.gz
+ md5sums = ddf8522ec99e594dad1b73e434e7eada
+
+pkgname = dron
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9e8d2571709
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: WiRight <ruslan.mahin1@gmail.com>
+# Dizoft Team
+
+pkgname=dron
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Small command line shell executor"
+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=('ddf8522ec99e594dad1b73e434e7eada')
+
+build() {
+ cd "$pkgname-$pkgver"
+ go build -o dron ./main.go
+}
+
+package() {
+ install -Dm755 "$srcdir/$pkgname-$pkgver/"dron "$pkgdir"/usr/local/bin/dron
+}