New package: srain-1.0.1

This commit is contained in:
avoidr 2020-03-07 23:20:05 +01:00 committed by Johannes
parent 3d2e517081
commit 4162dc7f4d
2 changed files with 28 additions and 0 deletions

View File

@ -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)"' \

15
srcpkgs/srain/template Normal file
View File

@ -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 <avoidr@firemail.cc>"
license="GPL-3.0-only"
homepage="https://srain.im/"
distfiles="https://github.com/SrainApp/srain/archive/${version}.tar.gz"
checksum=104d0b56944b9eabed9ada7bbca28df4b0dedb972e67fa533079dcf5bde35254