blob: c2cc20c05c2b3ed61dc28d013192c10e6e95e67e (
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
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Maas Lalani <maas@charm.sh>
pkgname='charm-pop-bin'
pkgver=0.2.0
pkgrel=1
pkgdesc='Send emails from your terminal. 📬'
url='https://charm.sh/'
arch=('aarch64' 'armv7h' 'i686' 'x86_64')
license=('MIT')
provides=('pop')
conflicts=('pop')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/charmbracelet/pop/releases/download/v0.2.0/pop_0.2.0_Linux_arm64.tar.gz")
sha256sums_aarch64=('dee977361fda3023e7c80af3bc30959e04cd1e003f976737d7914642d3b9a410')
source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/charmbracelet/pop/releases/download/v0.2.0/pop_0.2.0_Linux_arm.tar.gz")
sha256sums_armv7h=('8d744fde3583b504dc42f6b2f302381eb6428f1bd7664354f43e67c48af3c2d0')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/charmbracelet/pop/releases/download/v0.2.0/pop_0.2.0_Linux_i386.tar.gz")
sha256sums_i686=('7663934e8bb32e6e17f6a647a350d92a8cf9be8b6cfd774d14591a92632b44ec')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/charmbracelet/pop/releases/download/v0.2.0/pop_0.2.0_Linux_x86_64.tar.gz")
sha256sums_x86_64=('6ca76d6554dbe6c6cee6d18ef042c4900c7ba46254b7f971dacd8b664ccbfada')
package() {
# bin
install -Dm755 "./pop" "${pkgdir}/usr/bin/pop"
# license
mkdir -p "${pkgdir}/usr/share/licenses/pop/"
install -Dm644 ./LICENSE* "${pkgdir}/usr/share/licenses/pop/"
# 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/pop.bash" "${pkgdir}/usr/share/bash-completion/completions/pop"
install -Dm644 "./completions/pop.zsh" "${pkgdir}/usr/share/zsh/site-functions/_pop"
install -Dm644 "./completions/pop.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/pop.fish"
# man pages
install -Dm644 "./manpages/pop.1.gz" "${pkgdir}/usr/share/man/man1/pop.1.gz"
}
|