Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions srcpkgs/nchat/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Template file for 'nchat'
pkgname=nchat
version=5.16.9
revision=1
archs="x86_64 i686"
Comment thread
orahcio marked this conversation as resolved.
build_style=cmake
configure_args="-DHAS_DUMMY=OFF -DCMAKE_INSTALL_MANDIR=/usr/share/man"
Comment thread
Duncaen marked this conversation as resolved.
hostmakedepends="go gperf pkg-config python3"
makedepends="file-devel ncurses-devel openssl-devel sqlite-devel zlib-devel"
short_desc="Terminal-based messaging client for Linux"
maintainer="orahcio <orahcio@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/d99kris/nchat"
changelog="https://github.com/d99kris/nchat/releases"
distfiles="https://github.com/d99kris/nchat/archive/refs/tags/v${version}.tar.gz"
checksum=883eb1f398d233a6fce9112240357e923aa3c338728858d428d137be3405aeb4

pre_configure() {
# Whatsapp feature has no musl support
# See https://github.com/d99kris/nchat/issues/204
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args+=" -DHAS_WHATSAPP=OFF"
fi
}