pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

aerc: building working; install failing



Module Name:	pkgsrc-wip
Committed By:	Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By:	nuclearkev
Date:		Sat Dec 23 13:57:07 2023 -0500
Changeset:	ff5a7c387172f9dc41e62bf05faf2f4159171a6a

Modified Files:
	aerc/Makefile

Log Message:
aerc: building working; install failing

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ff5a7c387172f9dc41e62bf05faf2f4159171a6a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 aerc/Makefile | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diffs:
diff --git a/aerc/Makefile b/aerc/Makefile
index fc33f9fa17..66786d71db 100644
--- a/aerc/Makefile
+++ b/aerc/Makefile
@@ -6,13 +6,13 @@ MASTER_SITES=	https://git.sr.ht/~rjarry/aerc/archive/
 
 MAINTAINER=	kevin.bloom%posteo.net@localhost
 HOMEPAGE=	https://git.sr.ht/~rjarry/aerc/archive/
-COMMENT=	TODO: Short description of the package
-#LICENSE=	# TODO: (see mk/license.mk)
+COMMENT=	terminal email client written in Go
+LICENSE=	mit
 
 WRKSRC=	${WRKDIR}/aerc-0.16.0
 
 USE_TOOLS+=	gmake
-MAKE_FILE=	GNUmakefile
+#MAKE_FILE=	GNUmakefile
 USE_LANGUAGES=	c go
 
 TOOL_DEPENDS+=	go118>=1.18.0:../../lang/go118
@@ -22,6 +22,19 @@ REPLACE_PYTHON+=	contrib/carddav-query
 REPLACE_PYTHON+=	filters/show-ics-details.py
 .include "../../lang/python/application.mk"
 
+GO_BUILD_PATTERN=	.
+
+#pre-build:
+#	cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV}	\
+#	    GOPATH=${WRKDIR}/.gopath ${GO} generate ./...
+
+do-build:
+	cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV}	\
+	    GOPATH=${WRKDIR}/.gopath ${GO} build -o aerc
+
+#do-install:
+#	cd ${WRKSRC} && ${GMAKE} install
+
 .include "go-modules.mk"
 
 .include "../../lang/go/go-module.mk"


Home | Main Index | Thread Index | Old Index