blob: fd96bfae515223cb8dd6ed207f06891d02bc1172 (
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
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Ewen Le Bihan <ortfo@ewen.works>
pkgname='ortfodb-bin'
pkgver=1.6.1
pkgrel=1
pkgdesc='A readable, easy and enjoyable way to manage portfolio databases using directories and text files.'
url='https://ortfo.org'
arch=('aarch64' 'i686' 'x86_64')
license=('MIT')
provides=('ortfodb')
conflicts=('ortfodb')
depends=('imagemagick' 'ffmpeg' 'libwebp')
optdepends=('gifsicle: to convert videos to GIFs' 'poppler: to process PDFs')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/ortfo/db/releases/download/v1.6.1/ortfodb_Linux_arm64.tar.gz")
sha256sums_aarch64=('224064740c461d9bf7458cf6de2e2a3949cb4c6923489a62010d2da63b31d987')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/ortfo/db/releases/download/v1.6.1/ortfodb_Linux_i386.tar.gz")
sha256sums_i686=('9742749a82b1e32b561879e4c7540986578d406fb3d879dfde2af1da4a94e766')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/ortfo/db/releases/download/v1.6.1/ortfodb_Linux_x86_64.tar.gz")
sha256sums_x86_64=('30481bdb7fa1dd6c81e576ee91cd0be5e3efc220d8ac881287940d9323b77151')
package() {
# bin
install -Dm755 "./ortfodb_linux_amd64" "${pkgdir}/usr/bin/ortfodb"
# license
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/ortfodb/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/ortfodb.bash" "${pkgdir}/usr/share/bash-completion/completions/ortfodb"
install -Dm644 "./completions/ortfodb.zsh" "${pkgdir}/usr/share/zsh/site-functions/_ortfodb"
install -Dm644 "./completions/ortfodb.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/ortfodb.fish"
# man pages
for manpage in manpages/*; do
install -Dm644 "$manpage" "${pkgdir}/usr/share/man/man1/$(basename manpage)"
done
}
|