summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc7802923e10d90790278040c0ec85f80cf77138 (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.1.3
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.1.3/av_0.1.3_linux_arm64.tar.gz")
sha256sums_aarch64=('8f574d087dbc5558f028234037755e65accf0365c6b51d01183fd4909492f0b5')

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

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
}