aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f14e085f79e6ab4a3337ca3763731f7061fb8d9d (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: Randy Fay <randy.fay@ddev.com>

pkgname='ddev-test-bin'
pkgver=1.23.29
pkgrel=1
pkgdesc='DDEV: a local web development environment'
url='https://github.com/ddev/ddev'
arch=('aarch64' 'x86_64')
license=('Apache 2')
provides=('ddev')
conflicts=('ddev')
depends=('docker' 'mkcert')
optdepends=('bash-completion: subcommand completion support')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/ddev-test/ddev/releases/download/v1.23.29/ddev_linux-arm64.v1.23.29.tar.gz")
sha256sums_aarch64=('b987ebb2871f38d378dcf419b0faae5cd984d57f6073f6024768da2ff0c94d20')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/ddev-test/ddev/releases/download/v1.23.29/ddev_linux-amd64.v1.23.29.tar.gz")
sha256sums_x86_64=('5cf46aeb3e5664870d40a3849392dd9cb51c4306ed37939978f557677f7a82e4')

package() {
  # bin
  install -Dm755 "./ddev" "${pkgdir}/usr/bin/ddev"
  install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/ddev/LICENSE"

  # 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 "./ddev_bash_completion.sh" "${pkgdir}/usr/share/bash-completion/completions/ddev"
  install -Dm644 "./ddev_zsh_completion.sh" "${pkgdir}/usr/share/zsh/site-functions/_ddev"
  install -Dm644 "./ddev_fish_completion.sh" "${pkgdir}/usr/share/fish/vendor_completions.d/ddev.fish"
}