Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/leahneukirchen-redo Simplify GitHub declarations...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/31be37ef31bf
branches:  trunk
changeset: 435361:31be37ef31bf
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jul 06 16:48:50 2020 +0000

description:
Simplify GitHub declarations. I can never remember how to do this.
Thanks, leot@!

diffstat:

 devel/leahneukirchen-redo/Makefile |  12 +++++-------
 devel/leahneukirchen-redo/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 12 deletions(-)

diffs (44 lines):

diff -r 4e1e89b79ec1 -r 31be37ef31bf devel/leahneukirchen-redo/Makefile
--- a/devel/leahneukirchen-redo/Makefile        Mon Jul 06 16:26:58 2020 +0000
+++ b/devel/leahneukirchen-redo/Makefile        Mon Jul 06 16:48:50 2020 +0000
@@ -1,19 +1,17 @@
-# $NetBSD: Makefile,v 1.1 2020/07/06 15:27:19 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/06 16:48:50 schmonz Exp $
 
-GITHUB_PROJECT=                redo-c
-GITHUB_TAG=            v0.2
-DISTNAME=              v0.2
-PKGNAME=               leahneukirchen-redo-${DISTNAME:S,^v,,}
+DISTNAME=              leahneukirchen-redo-0.2
 CATEGORIES=            devel
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=leahneukirchen/}
-DIST_SUBDIR=           ${GITHUB_PROJECT}
+GITHUB_PROJECT=                redo-c
+GITHUB_TAG=            v${PKGVERSION_NOREV}
 
 MAINTAINER=            schmonz%NetBSD.org@localhost
 HOMEPAGE=              https://github.com/leahneukirchen/redo-c/
 COMMENT=               Redo build system implemented in portable C
 LICENSE=               public-domain
 
-WRKSRC=                        ${WRKDIR}/redo-c-0.2
+WRKSRC=                        ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
 
 INSTALLATION_DIRS=     bin share/doc/${PKGBASE}
 
diff -r 4e1e89b79ec1 -r 31be37ef31bf devel/leahneukirchen-redo/distinfo
--- a/devel/leahneukirchen-redo/distinfo        Mon Jul 06 16:26:58 2020 +0000
+++ b/devel/leahneukirchen-redo/distinfo        Mon Jul 06 16:48:50 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/07/06 15:27:19 schmonz Exp $
+$NetBSD: distinfo,v 1.2 2020/07/06 16:48:50 schmonz Exp $
 
-SHA1 (redo-c/v0.2.tar.gz) = 1c7ea152b8839abde63b32b39aaa76aeb16aa7d3
-RMD160 (redo-c/v0.2.tar.gz) = 40f2ef804d31fdba636eaf3e2ce55b81561d8d76
-SHA512 (redo-c/v0.2.tar.gz) = 7547625d3536bf875b34f05acdbed825d3a6915e62f4d504360c4bfcfd41506f197712f7bbc90fa7d5d50e87eddb6cb37bf27e39e105238406abe617600e0c4f
-Size (redo-c/v0.2.tar.gz) = 7673 bytes
+SHA1 (leahneukirchen-redo-0.2.tar.gz) = 1c7ea152b8839abde63b32b39aaa76aeb16aa7d3
+RMD160 (leahneukirchen-redo-0.2.tar.gz) = 40f2ef804d31fdba636eaf3e2ce55b81561d8d76
+SHA512 (leahneukirchen-redo-0.2.tar.gz) = 7547625d3536bf875b34f05acdbed825d3a6915e62f4d504360c4bfcfd41506f197712f7bbc90fa7d5d50e87eddb6cb37bf27e39e105238406abe617600e0c4f
+Size (leahneukirchen-redo-0.2.tar.gz) = 7673 bytes
 SHA1 (patch-redo.c) = 96e794071dc06bfc6efae27fc955b00c1b39326f



Home | Main Index | Thread Index | Old Index