-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
29 lines (26 loc) · 856 Bytes
/
template
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
# Template file for 'ouch'
pkgname=ouch
version=0.5.1
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="liblzma-devel bzip2-devel libzip-devel libzstd-devel"
short_desc="CLI utility for easily compressing and decompressing files and dirs"
maintainer="Savoy <savoy@liberation.red>"
license="MIT"
homepage="https://github.com/ouch-org/ouch"
changelog="https://raw.githubusercontent.com/ouch-org/ouch/main/CHANGELOG.md"
distfiles="https://github.com/ouch-org/ouch/archive/refs/tags/${version}.tar.gz"
checksum=46cc2b14f53de2f706436df59300eb90c5a58f08ac8c738fd976fcb8ec0cd335
pre_build() {
export OUCH_ARTIFACTS_FOLDER=artifacts
}
post_install() {
vlicense LICENSE
vcompletion "artifacts/_ouch" zsh
vcompletion "artifacts/ouch.fish" fish
vcompletion "artifacts/ouch.bash" bash
for page in artifacts/*.1; do
vman ${page}
done
}