summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2705027ba0b469ab6f4aaf73f1d24f02231c4ad7 (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
44
45
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Jun Xiang <contact@ngjx.org>

pkgname='waku-bin'
pkgver=0.9.1
pkgrel=1
pkgdesc='A simple template repository generator. Lets make starting new projects feel like a breeze again!'
url='https://github.com/caffeine-addictt/waku'
arch=('aarch64' 'armv7h' 'i686' 'x86_64')
license=('AGPL-3.0')
provides=('waku')
conflicts=('waku')
depends=('git')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/caffeine-addictt/waku/releases/download/v0.9.1/waku_Linux_arm64.tar.gz")
sha256sums_aarch64=('0a8eb62d9e04085499e24836f4267bf750d59f684fa55ffd9f3788be4549692c')

source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/caffeine-addictt/waku/releases/download/v0.9.1/waku_Linux_armv7.tar.gz")
sha256sums_armv7h=('d91c67c3c0fab48983022c6f3c4de8cdc567f51a7847a613083703d21c1c6d3b')

source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/caffeine-addictt/waku/releases/download/v0.9.1/waku_Linux_i386.tar.gz")
sha256sums_i686=('aae27ad019e0bd8301e448f1b5213265a46b55ae809db5901fe4a2a99a4a31f3')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/caffeine-addictt/waku/releases/download/v0.9.1/waku_Linux_x86_64.tar.gz")
sha256sums_x86_64=('2cd05c610b7f5e1a564ba5765f90cbe61ddb5f80f9a53c19b6a852814f3624b3')

package() {
  # bin
  install -Dm755 "./waku" -t "$pkgdir/usr/bin"

  # license
  install -Dm644 "./LICENSE" "$pkgdir/usr/share/licenses/waku"

  # 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/waku.bash" "$pkgdir/usr/share/bash-completion/completions/waku"
  install -Dm644 "./completions/waku.zsh" "$pkgdir/usr/share/zsh/site-functions/_waku"
  install -Dm644 "./completions/waku.fish" "$pkgdir/usr/share/fish/vendor_completions.d/waku.fish"

  # man page
  mkdir -p "$pkgdir/usr/share/man/man1"
  install -Dm644 "./manpages/waku.1.gz" "$pkgdir/usr/share/man/man1/waku.1.gz"
}