summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: af839e0e49da574e32747048a5d09cd61e60db89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: C├ędric Connes <cedric.connes@gmail.com>

pkgname=grpcui-bin
pkgver=1.3.1
pkgrel=1
pkgdesc='An interactive web UI for gRPC, along the lines of postman (binary release)'
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/fullstorydev/grpcui"
license=('MIT')
provides=('grpcui')
conflicts=('grpcui')
source=("README_$pkgver.md::https://raw.githubusercontent.com/fullstorydev/grpcui/v$pkgver/README.md")
source_i686=("grpcui_${pkgver}_i686.tar.gz::https://github.com/fullstorydev/grpcui/releases/download/v$pkgver/grpcui_${pkgver}_linux_x86_32.tar.gz")
source_x86_64=("grpcui_${pkgver}_x86_64.tar.gz::https://github.com/fullstorydev/grpcui/releases/download/v$pkgver/grpcui_${pkgver}_linux_x86_64.tar.gz")
source_aarch64=("grpcui_${pkgver}_aarch64.tar.gz::https://github.com/fullstorydev/grpcui/releases/download/v$pkgver/grpcui_${pkgver}_linux_arm64.tar.gz")
sha256sums=('cd3152f59679286989868818dc3842a0412fc313459b18f738833b534a655439')
sha256sums_i686=('a64a3bed921d325eea88e7c7b81566fadbd99ebb853e090b02340ecd7a795d4f')
sha256sums_x86_64=('be6a4b3d0423dd20d1540e30343337bc640ec276098218913479948a93b3d7f1')
sha256sums_aarch64=('4d2dd6edaa1c52fb0d23183b013772e28ccaf5ec5cae2e12b79239bde9c94962')

package() {
  install -Dm755 grpcui "$pkgdir"/usr/bin/grpcui
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/grpcui/LICENSE
  install -Dm644 "README_$pkgver.md" "$pkgdir"/usr/share/doc/grpcui/README.md
}