blob: 5081be7b4afb6f02191501e000dc0c6d77b4226f (
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
46
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Maas Lalani <maas@charm.sh>
pkgname='vhs-bin'
pkgver=0.8.0
pkgrel=1
pkgdesc='A tool for recording terminal GIFs'
url='https://charm.sh/'
arch=('aarch64' 'armv7h' 'i686' 'x86_64')
license=('MIT')
provides=('vhs')
conflicts=('vhs')
depends=('ffmpeg' 'ttyd')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/charmbracelet/vhs/releases/download/v0.8.0/vhs_0.8.0_Linux_arm64.tar.gz")
sha256sums_aarch64=('8625f2b02ba5a7626841e3045be767ca1da30920fb567b6488387c1a47853db9')
source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/charmbracelet/vhs/releases/download/v0.8.0/vhs_0.8.0_Linux_arm.tar.gz")
sha256sums_armv7h=('249b66cf52b8141463b9c73ac61c8f6b51b9ba14c1195f72ef174881b1e516c5')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/charmbracelet/vhs/releases/download/v0.8.0/vhs_0.8.0_Linux_i386.tar.gz")
sha256sums_i686=('24ba27621045aa54349308b6520dce30d7eb795d1795d652d54b2c84d6677b95')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/charmbracelet/vhs/releases/download/v0.8.0/vhs_0.8.0_Linux_x86_64.tar.gz")
sha256sums_x86_64=('0371e5b57b335330272aba6992656b6785e2e5d8538d6e4d85dcfd9f70400c5b')
package() {
cd "${srcdir}/vhs_${pkgver}_Linux_${CARCH}"
# bin
install -Dm755 "./vhs" "${pkgdir}/usr/bin/vhs"
# license
mkdir -p "${pkgdir}/usr/share/licenses/vhs/"
install -Dm644 ./LICENSE* "${pkgdir}/usr/share/licenses/vhs/"
# 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/vhs.bash" "${pkgdir}/usr/share/bash-completion/completions/vhs"
install -Dm644 "./completions/vhs.zsh" "${pkgdir}/usr/share/zsh/site-functions/_vhs"
install -Dm644 "./completions/vhs.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/vhs.fish"
# man pages
install -Dm644 "./manpages/vhs.1.gz" "${pkgdir}/usr/share/man/man1/vhs.1.gz"
# readme
mkdir -pv "${pkgdir}/usr/share/doc/vhs/"
install -Dm644 README* "${pkgdir}/usr/share/doc/vhs/"
}
|