summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e75e993ac523d09717ab24ae34cce32fb17e084d (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
35
36
37
38
39
40
41
42
43
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Andreas Augustin <dev@andreas-augustin.org>
# Contributor: Andreas Augustin <dev@andreas-augustin.org>

pkgname='go-gitmoji-cli-bin'
pkgver=0.6.1
pkgrel=1
pkgdesc='CLI supporting gitmoji with conventional commits'
url='https://github.com/AndreasAugustin/go-gitmoji-cli'
arch=('aarch64' 'armv7h' 'i686' 'x86_64')
license=('MIT')
provides=('go-gitmoji-cli')
conflicts=('go-gitmoji-cli')
depends=('git')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/AndreasAugustin/go-gitmoji-cli/releases/download/v0.6.1-alpha/go-gitmoji-cli_0.6.1-alpha_Linux_arm64.tar.gz")
sha256sums_aarch64=('cfaae607cd807f2d89f1879c73fac795b25a7c109c36e8d9b9758958797decc2')

source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/AndreasAugustin/go-gitmoji-cli/releases/download/v0.6.1-alpha/go-gitmoji-cli_0.6.1-alpha_Linux_arm.tar.gz")
sha256sums_armv7h=('3dc649a0cd0bad638b9abff1f6a6bb93297848b01a13d765897d9fbaa94715a1')

source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/AndreasAugustin/go-gitmoji-cli/releases/download/v0.6.1-alpha/go-gitmoji-cli_0.6.1-alpha_Linux_i386.tar.gz")
sha256sums_i686=('55bd2048ae05588d623141f2aa870773750508f45112736ea3c3b59812bfed3d')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/AndreasAugustin/go-gitmoji-cli/releases/download/v0.6.1-alpha/go-gitmoji-cli_0.6.1-alpha_Linux_x86_64.tar.gz")
sha256sums_x86_64=('dff5ad9b98563443e8a90a7dc16574b1bd87e98d5e15bf07d3566bae5a341948')

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