diff --git a/srcpkgs/srain/patches/fix-cross.patch b/srcpkgs/srain/patches/fix-cross.patch deleted file mode 100644 index 05e640a4679..00000000000 --- a/srcpkgs/srain/patches/fix-cross.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- 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 index 3679e2679e3..a50d1c2fd4e 100644 --- a/srcpkgs/srain/template +++ b/srcpkgs/srain/template @@ -1,15 +1,16 @@ # Template file for 'srain' pkgname=srain -version=1.0.1 +version=1.0.2 revision=1 build_style=configure build_helper=gir -configure_args="--prefix=/usr" +configure_args="--prefix=/usr --sysconfdir=/etc" hostmakedepends="pkg-config gettext glib-devel" -makedepends="glib-devel gtk+3-devel libconfig-devel libressl-devel libsecret-devel libsoup-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 +checksum=ecc8d5b1bfb7e72e8310f888a34415b66d4aa4da752776a4d46828c354844fc2