void-packages/srcpkgs/coyim/template

27 lines
767 B
Bash

# Template file for 'coyim'
pkgname=coyim
version=0.4.1
revision=1
build_style=go
go_import_path=github.com/coyim/coyim
hostmakedepends="pkg-config"
makedepends="gtk+3-devel"
short_desc="Safe and secure XMPP chat client"
maintainer="Illia Shestakov <ishestakov@airmail.cc>"
license="GPL-3.0-only"
homepage="https://coy.im"
distfiles="https://github.com/coyim/coyim/archive/v${version}.tar.gz"
checksum=f2bf1e73562fbcc3a0b264a30f92dfe427dffe2046e9f44459087ecac5890098
case "$XBPS_TARGET_MACHINE" in
x86_64*) ;;
*)
# I don't know what wrong, they're downloading cache?
broken="/usr/bin/ld: i386:x86-64 architecture of input file \`/tmp/go-link-1520727479/000000.o' is incompatible with i386 output"
;;
esac
post_install() {
vlicense LICENSE
vdoc README.md
}