summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWiRight2020-11-20 08:54:52 +0300
committerWiRight2020-11-20 08:54:52 +0300
commit5113745cf9efc05118808bfa0b1b737f15c618eb (patch)
tree866119809538ce0645129cd8c9ac7d49e538e7b1
parent3bc7e2eb55e2cb71970b9e5f1ec89a507408ae1a (diff)
downloadaur-dron.tar.gz
Update to 1.3.3 - Stable version
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7095f339154..22dc9e396ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = dron
pkgdesc = Small command line shell executor
- pkgver = 1.3.2
- pkgrel = 1
+ pkgver = 1.3.3
+ pkgrel = 0
url = https://github.com/DizoftTeam/dron
arch = x86_64
- license = Apache
+ license = MIT
makedepends = go
makedepends = git
- source = dron-1.3.2.tar.gz::https://github.com/DizoftTeam/dron/archive/1.3.2.tar.gz
- md5sums = 7873f97d101432c59778c0b884ab8296
+ source = dron-1.3.3.tar.gz::https://github.com/DizoftTeam/dron/archive/1.3.3.tar.gz
+ md5sums = 8c8e5cb91a7d47701084edfba0e19131
pkgname = dron
diff --git a/PKGBUILD b/PKGBUILD
index 9ccf555fd5d..8029107bcc9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,22 @@
# Dizoft Team
pkgname=dron
-pkgver=1.3.2
-pkgrel=1
+pkgver=1.3.3
+pkgrel=0
pkgdesc="Small command line shell executor"
arch=('x86_64')
url="https://github.com/DizoftTeam/dron"
-license=('Apache')
+license=('MIT')
makedepends=('go' 'git')
source=("$pkgname-$pkgver.tar.gz::https://github.com/DizoftTeam/$pkgname/archive/$pkgver.tar.gz")
-md5sums=('7873f97d101432c59778c0b884ab8296')
+md5sums=('8c8e5cb91a7d47701084edfba0e19131')
build() {
cd "$pkgname-$pkgver"
- go build -o dron ./main.go
- ./dron -version
+ go build -ldflags "-s -w" -o $pkgname main.go
}
package() {
- install -Dm755 "$srcdir/$pkgname-$pkgver/"dron "$pkgdir"/usr/local/bin/dron
+ install -Dm755 "$pkgname-$pkgver/$pkgname" "${pkgdir}/usr/local/bin/${pkgname}"
+ install -Dm644 "${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}