From 4162dc7f4dbda241c4e9b39458aff9c0953c3a4c Mon Sep 17 00:00:00 2001 From: avoidr Date: Sat, 7 Mar 2020 23:20:05 +0100 Subject: [PATCH] New package: srain-1.0.1 --- srcpkgs/srain/patches/fix-cross.patch | 13 +++++++++++++ srcpkgs/srain/template | 15 +++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 srcpkgs/srain/patches/fix-cross.patch create mode 100644 srcpkgs/srain/template diff --git a/srcpkgs/srain/patches/fix-cross.patch b/srcpkgs/srain/patches/fix-cross.patch new file mode 100644 index 00000000000..05e640a4679 --- /dev/null +++ b/srcpkgs/srain/patches/fix-cross.patch @@ -0,0 +1,13 @@ +--- src/Makefile~ 2020-03-15 17:22:29.077747681 +0100 ++++ src/Makefile 2020-03-15 17:22:32.599747681 +0100 +@@ -3,7 +3,9 @@ + # Complie C source codes and output object files to $(BUILD_DIR), then links + # them together to get a executable $(TARGET). + +-CC = gcc ++ifeq "$(origin CC)" "default" ++ CC = gcc ++endif + DEFS = -D PACKAGE='"$(PACKAGE)"' \ + -D PACKAGE_NAME='"$(PACKAGE_NAME)"' \ + -D PACKAGE_VERSION='"$(PACKAGE_VERSION)"' \ diff --git a/srcpkgs/srain/template b/srcpkgs/srain/template new file mode 100644 index 00000000000..3679e2679e3 --- /dev/null +++ b/srcpkgs/srain/template @@ -0,0 +1,15 @@ +# Template file for 'srain' +pkgname=srain +version=1.0.1 +revision=1 +build_style=configure +build_helper=gir +configure_args="--prefix=/usr" +hostmakedepends="pkg-config gettext glib-devel" +makedepends="glib-devel gtk+3-devel libconfig-devel libressl-devel libsecret-devel libsoup-devel" +short_desc="Modern IRC client written in GTK" +maintainer="avoidr " +license="GPL-3.0-only" +homepage="https://srain.im/" +distfiles="https://github.com/SrainApp/srain/archive/${version}.tar.gz" +checksum=104d0b56944b9eabed9ada7bbca28df4b0dedb972e67fa533079dcf5bde35254