blob: 4115f0a94ef4b8e3ab5c034603407360450d2e57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: WiRight <ruslan.mahin1@gmail.com>
# Dizoft Team
pkgname=drpc
pkgver=1.3.0
pkgrel=1
pkgdesc="JsonRPC cli client. Small and faster"
arch=('x86_64')
url="https://github.com/DizoftTeam/dron"
license=('MIT')
makedepends=('go' 'git')
source=("$pkgname-$pkgver.tar.gz::https://github.com/DizoftTeam/$pkgname/archive/$pkgver.tar.gz")
md5sums=('bf8c66a82734d77d917357662f106ea9')
build() {
cd "$pkgname-$pkgver"
go build -ldflags "-s -w" -o drpc ./main.go
}
package() {
install -Dm755 "$pkgname-$pkgver/$pkgname" "${pkgdir}/usr/local/bin/${pkgname}"
install -Dm644 "${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|