From ddc8d6ce1c821ec13b12039685b3732c12d7c505 Mon Sep 17 00:00:00 2001 From: orahcio Date: Fri, 17 Jul 2026 19:05:00 -0300 Subject: [PATCH] New package: nchat-5.16.9 --- srcpkgs/nchat/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/nchat/template diff --git a/srcpkgs/nchat/template b/srcpkgs/nchat/template new file mode 100644 index 00000000000000..da6383685bc5ea --- /dev/null +++ b/srcpkgs/nchat/template @@ -0,0 +1,24 @@ +# Template file for 'nchat' +pkgname=nchat +version=5.16.9 +revision=1 +archs="x86_64 i686" +build_style=cmake +configure_args="-DHAS_DUMMY=OFF -DCMAKE_INSTALL_MANDIR=/usr/share/man" +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 " +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 +}