From 4083f0d5884db77fcedf939a8c4fbb4008955d29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Lee=20Ram=C3=ADrez?= Date: Thu, 1 Feb 2018 12:44:25 +0000 Subject: [PATCH] hugo: fix dependencies and license Closes: #11218 [via git-merge-pr] --- srcpkgs/hugo/template | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/srcpkgs/hugo/template b/srcpkgs/hugo/template index 778f6a7f302..b005d37935c 100644 --- a/srcpkgs/hugo/template +++ b/srcpkgs/hugo/template @@ -1,18 +1,21 @@ # Template file for 'hugo' pkgname=hugo version=0.37 -revision=2 +revision=3 build_style=go -hostmakedepends="git-perl mercurial" -depends="python-Pygments" -go_import_path="github.com/spf13/${pkgname}" +hostmakedepends="git" +depends="$(vopt_if pygments python-Pygments)" +go_import_path="github.com/gohugoio/${pkgname}" short_desc="A Fast & Modern Static Website Engine" maintainer="Andrea Brancaleoni " -license="SimPL-2" +license="Apache-2.0" homepage="http://gohugo.io" distfiles="https://${go_import_path}/archive/v${version}.tar.gz" checksum=29b2b472e5baaa2056c5744c4ce0341ff7a83990a822eb53012baced535ca083 +build_options="pygments" +desc_option_pygments="Alternative syntax highlighter" + post_install() { vlicense LICENSE.md vdoc README.md