From 3fceb4a36c98d43536f1621fae30a42800e72776 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Mon, 26 Apr 2021 01:04:18 +0300 Subject: [PATCH] hugo: enable `extended` option by default Sass support is nice to have even though most people might not use it. Also fix to use the right `Pygments` package name and remove `git` in hostmakedepends. --- srcpkgs/hugo/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/hugo/template b/srcpkgs/hugo/template index ee37134f2681..1a241f234e9b 100644 --- a/srcpkgs/hugo/template +++ b/srcpkgs/hugo/template @@ -1,12 +1,11 @@ # Template file for 'hugo' pkgname=hugo version=0.82.1 -revision=1 +revision=2 build_style=go go_import_path="github.com/gohugoio/hugo" go_build_tags="$(vopt_if extended extended)" -hostmakedepends="git" -depends="$(vopt_if pygments python-Pygments)" +depends="$(vopt_if pygments python3-Pygments)" short_desc="Fast & Modern Static Website Engine" maintainer="Andrea Brancaleoni " license="Apache-2.0" @@ -15,6 +14,7 @@ distfiles="https://github.com/gohugoio/hugo/archive/v${version}.tar.gz" checksum=3190ae848fdb1a04339c233faab5934c422d85cf85ea3b0c0b5a842239c84e75 build_options="pygments extended" +build_options_default="extended" desc_option_pygments="Alternative syntax highlighter" desc_option_extended="SASS/SCSS build support for Hugo"