pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/rofi Simplify fetching from GitHub sources



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2699648ba63d
branches:  trunk
changeset: 348388:2699648ba63d
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sun Jun 12 22:57:58 2016 +0000

description:
Simplify fetching from GitHub sources

MASTER_SITES=   ${MASTER_SITE_GITHUB:=DaveDavenport/${PKGBASE}/releases/download/${PKGVERSION_NOREV}/}

is equivalent to:

MASTER_SITES=   ${MASTER_SITE_GITHUB:=DaveDavenport/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}

Thanks <leot> for pointing it out.

No functional change in the package.

diffstat:

 x11/rofi/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (17 lines):

diff -r 46ba4927ef01 -r 2699648ba63d x11/rofi/Makefile
--- a/x11/rofi/Makefile Sun Jun 12 22:14:29 2016 +0000
+++ b/x11/rofi/Makefile Sun Jun 12 22:57:58 2016 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2016/06/12 20:31:10 kamil Exp $
+# $NetBSD: Makefile,v 1.2 2016/06/12 22:57:58 kamil Exp $
 
 DISTNAME=      rofi-1.0.1
 CATEGORIES=    x11
-# We need to specify this long path to get submodules fetched
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=DaveDavenport/${PKGBASE}/releases/download/${PKGVERSION_NOREV}/}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=DaveDavenport/}
+# We need to specify this way to get submodules fetched
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://davedavenport.github.io/rofi/



Home | Main Index | Thread Index | Old Index