summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5cc7435b6a14d27309c7ca5416bcc7cd004f0619 (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
26
27
28
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Masaya Suzuki <masaya@aviator.co>

pkgname='av-cli-bin'
pkgver=0.0.44
pkgrel=1
pkgdesc='CLI tool to create, update, review and merge stacked PRs on GitHub.'
url='https://aviator.co'
arch=('aarch64' 'x86_64')
license=('MIT')
provides=('av-cli')
conflicts=('av-cli')
depends=('git')
optdepends=('github-cli: for GitHub authentication')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/aviator-co/av/releases/download/v0.0.44/av_0.0.44_linux_arm64.tar.gz")
sha256sums_aarch64=('542f4d6772267dd24a893ad75e18bb01f70390e6c908a7300e43999b21e95bdc')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/aviator-co/av/releases/download/v0.0.44/av_0.0.44_linux_x86_64.tar.gz")
sha256sums_x86_64=('dd1b91c00ed44fbbd408972d33bca8d78159b4759e269c644a83cfab343f009f')

package() {
  install -Dm755 "./av" "${pkgdir}/usr/bin/av"
  install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/av/LICENSE"
  for manpage in $(ls ./man/man1); do
  install -Dm644 "./man/man1/${manpage}" "${pkgdir}/usr/share/man/man1/${manpage}"
  done
}