summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b441a55d236..666a567d71c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = drpc
pkgdesc = JsonRPC cli client. Small and faster
- pkgver = 1.1.0
+ pkgver = 1.2.1
pkgrel = 0
url = https://github.com/DizoftTeam/dron
arch = x86_64
- license = Apache
+ license = MIT
makedepends = go
makedepends = git
- source = drpc-1.1.0.tar.gz::https://github.com/DizoftTeam/drpc/archive/1.1.0.tar.gz
- md5sums = 07b7fcdcd583b8e8a7ef337756d3d883
+ source = drpc-1.2.1.tar.gz::https://github.com/DizoftTeam/drpc/archive/1.2.1.tar.gz
+ md5sums = 2c055eb4a047fa0ecb46458f4e2376b9
pkgname = drpc
diff --git a/PKGBUILD b/PKGBUILD
index 19cda348543..43eb9e1e488 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,15 @@
# Dizoft Team
pkgname=drpc
-pkgver=1.1.0
+pkgver=1.2.1
pkgrel=0
pkgdesc="JsonRPC cli client. Small and faster"
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=('07b7fcdcd583b8e8a7ef337756d3d883')
+md5sums=('2c055eb4a047fa0ecb46458f4e2376b9')
build() {
cd "$pkgname-$pkgver"
@@ -18,5 +18,6 @@ build() {
}
package() {
- install -Dm755 "$srcdir/$pkgname-$pkgver/"drpc "$pkgdir"/usr/local/bin/drpc
+ install -Dm755 "$pkgname-$pkgver/$pkgname" "${pkgdir}/usr/local/bin/${pkgname}"
+ install -Dm644 "${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}