blob: f106fe88c4ad05ab1f8dc56ae81276457133976a (
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
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Kartikay Jainwal <kartikayjainwal at gmail dot com>
# Maintainer: Jonathan Neidel <aur at jneidel dot com>
pkgname='obsidian-cli-bin'
pkgver=0.1.7
pkgrel=1
pkgdesc='Interact with Obsidian in the terminal. Open, search, create, update and move notes!'
url='https://github.com/Yakitrak/obsidian-cli'
arch=('aarch64' 'x86_64')
license=('MIT')
provides=('obsidian-cli')
conflicts=('obsidian-cli')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/Yakitrak/obsidian-cli/releases/download/v0.1.7/obsidian-cli_0.1.7_linux_arm64.tar.gz")
sha256sums_aarch64=('222000445eb74deee02093a72c1996f6d780d2c80da4e9271b4af0567107aa44')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/Yakitrak/obsidian-cli/releases/download/v0.1.7/obsidian-cli_0.1.7_linux_amd64.tar.gz")
sha256sums_x86_64=('7ad1de39123d0c385d364adfc6a3b084b7068231973ab43fed4282fc7dc1802b')
package() {
install -Dm755 "./obsidian-cli" "${pkgdir}/usr/bin/obsidian-cli"
./obsidian-cli completion bash >obsidian-cli.bash
./obsidian-cli completion fish >obsidian-cli.fish
./obsidian-cli completion zsh >_obsidian-cli
install -Dm644 obsidian-cli.bash "${pkgdir}/usr/share/bash-completion/completions/obsidian-cli"
install -Dm644 obsidian-cli.fish "${pkgdir}/usr/share/fish/completions/obsidian-cli.fish"
install -Dm644 _obsidian-cli "${pkgdir}/usr/share/zsh/site-functions/_obsidian-cli"
}
|