Skip to content

Commit

Permalink
Fix HOMEPAGE when packaging github releases. Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz committed Sep 27, 2016
1 parent 3da288b commit 1bb8c1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions pkgtools/url2pkg/Makefile
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.85 2016/07/10 13:31:54 rillig Exp $
# $NetBSD: Makefile,v 1.86 2016/09/27 17:10:09 wiz Exp $

PKGNAME= url2pkg-2.27
PKGREVISION= 1
PKGNAME= url2pkg-2.28
CATEGORIES= pkgtools

MAINTAINER= pkgsrc-users@NetBSD.org
Expand Down
4 changes: 2 additions & 2 deletions pkgtools/url2pkg/files/url2pkg.pl
@@ -1,5 +1,5 @@
#! @PERL@
# $NetBSD: url2pkg.pl,v 1.33 2016/06/26 19:03:33 wiz Exp $
# $NetBSD: url2pkg.pl,v 1.34 2016/09/27 17:10:09 wiz Exp $
#

# Copyright (c) 2010 The NetBSD Foundation, Inc.
Expand Down Expand Up @@ -318,7 +318,7 @@ ($)
$found = true;
} elsif ($url =~ qr"^https?://github\.com/(.*)/(.*)/releases/download/(.*)/(.*)(\.tar\.gz|\.zip)$") {
$master_sites = "\${MASTER_SITE_GITHUB:=$1/}";
$homepage = "https://github.com/$1/$2/}";
$homepage = "https://github.com/$1/$2/";
if (index($4, $2) == -1) {
$gh_project = $2;
$dist_subdir = '${GITHUB_PROJECT}';
Expand Down

0 comments on commit 1bb8c1b

Please sign in to comment.