summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b889f185290885c5bc2d4885f79dcdcd94f84b9 (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
29
30
31
32
33
34
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Gabe Cook <gabe565@gmail.com>

pkgname='cli-of-life-bin'
pkgver=0.4.2
pkgrel=1
pkgdesc='Play Conways Game of Life in your terminal'
url='https://github.com/gabe565/cli-of-life'
arch=('aarch64' 'armv7h' 'x86_64')
license=('Apache2')
provides=('cli-of-life')
conflicts=('cli-of-life')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/gabe565/cli-of-life/releases/download/v0.4.2/cli-of-life_0.4.2_linux_arm64.tar.gz")
sha256sums_aarch64=('0afb3576262f589b7c02f6a36e0aee2247245bdf97733f27ff2526b6ade0483e')

source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/gabe565/cli-of-life/releases/download/v0.4.2/cli-of-life_0.4.2_linux_armv7.tar.gz")
sha256sums_armv7h=('b576fb4baad6da1e479e052eef0311b0adf3f70ed1fafafb6fa4d3691b3a323e')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/gabe565/cli-of-life/releases/download/v0.4.2/cli-of-life_0.4.2_linux_amd64.tar.gz")
sha256sums_x86_64=('af9244f5cfd70dd0ca2b57b04da1e76b1a8afbdb3918c3341f8b97cd60fe0574')

package() {
  # bin
  install -Dm755 "./cli-of-life" "${pkgdir}/usr/bin/cli-of-life"
  # license
  install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/cli-of-life/LICENSE"
  # man pages
  install -Dm644 "./manpages/cli-of-life.1.gz" "${pkgdir}/usr/share/man/man1/cli-of-life.1.gz"
  # completions
  install -Dm644 "./completions/cli-of-life.bash" "${pkgdir}/usr/share/bash-completion/completions/cli-of-life"
  install -Dm644 "./completions/cli-of-life.zsh" "${pkgdir}/usr/share/zsh/site-functions/_cli-of-life"
  install -Dm644 "./completions/cli-of-life.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/cli-of-life.fish"
}