blob: 3c61c5180188e527d293bff1ab805787be446831 (
plain) (
blame)
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
|
# Template file for 'cocogitto'
pkgname=cocogitto
version=6.1.0
revision=2
build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config"
makedepends="libgit2-devel"
depends="gnupg"
short_desc="Conventional Commits toolbox"
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
license="MIT"
homepage="https://github.com/cocogitto/cocogitto"
changelog="https://raw.githubusercontent.com/cocogitto/cocogitto/main/CHANGELOG.md"
distfiles="https://github.com/cocogitto/cocogitto/archive/refs/tags/${version}.tar.gz"
checksum=756bc574f311311639723297f3dc793f7494d9b3ae375d6bc3e6e714432d08f0
# Test suite is not atomic, relies on user environment such as git user configuration
make_check=no
post_install() {
local cog="${DESTDIR}/usr/bin/cog"
for shell in bash zsh fish; do
vtargetrun ${cog} generate-completions ${shell} > cog.${shell}
vcompletion cog.${shell} ${shell} cog
done
vtargetrun ${cog} generate-manpages "${XBPS_BUILDDIR}/${pkgname}-${version}/gen"
for manpage in gen/*.1; do
vman ${manpage}
done
vdoc README.md
vlicense LICENSE
}
|