blob: ce11065fddcf4090273eb81639e56520f0c4d0fe (
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
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: jonah <me@jon4hz.io>
pkgname='flipperzero-tea-bin'
pkgver=0.1.1
pkgrel=1
pkgdesc='TUI to interact with your flipper zero'
url='https://jon4hz.io'
arch=('aarch64' 'armv7h' 'i686' 'x86_64')
license=('MIT')
provides=('flipperzero-tea')
conflicts=('flipperzero-tea')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/jon4hz/flipperzero-tea/releases/download/v0.1.1/flipperzero-tea-v0.1.1-linux-arm64.tar.gz")
sha256sums_aarch64=('f213bc94b2d600e9001b2ee479d5d7995b823c2ffbae9338a88a978006d7b7b5')
source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/jon4hz/flipperzero-tea/releases/download/v0.1.1/flipperzero-tea-v0.1.1-linux-armv7.tar.gz")
sha256sums_armv7h=('5155ada0dbef11e062a43da7c942541a201e95c2d80c0787fe4a7f09c3d151be')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/jon4hz/flipperzero-tea/releases/download/v0.1.1/flipperzero-tea-v0.1.1-linux-386.tar.gz")
sha256sums_i686=('1aed87de141cb49188a2f25e21bc072cf141ad97a91a5537968be797a9f83a95')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/jon4hz/flipperzero-tea/releases/download/v0.1.1/flipperzero-tea-v0.1.1-linux-amd64.tar.gz")
sha256sums_x86_64=('61f8b8880d0e19aeb4c2d1a954c13c43923d056e0e0aca3c0814d5f79afe9abc')
package() {
# bin
install -Dm755 "./flipperzero-tea" "${pkgdir}/usr/bin/flipperzero-tea"
# license
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/flipperzero-tea/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 "./completions/flipperzero-tea.bash" "${pkgdir}/usr/share/bash-completion/completions/flipperzero-tea"
install -Dm644 "./completions/flipperzero-tea.zsh" "${pkgdir}/usr/share/zsh/site-functions/_flipperzero-tea"
install -Dm644 "./completions/flipperzero-tea.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/flipperzero-tea.fish"
# man pages
install -Dm644 "./manpages/flipperzero-tea.1.gz" "${pkgdir}/usr/share/man/man1/flipperzero-tea.1.gz"
}
|