Skip to content

Commit

Permalink
[less] Update & modernize Plan style.
Browse files Browse the repository at this point in the history
Signed-off-by: Fletcher Nichol <fnichol@nichol.ca>
  • Loading branch information
fnichol committed Jun 7, 2018
1 parent 973f188 commit ba63ec9
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions less/plan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,26 @@ pkg_name=less
pkg_origin=core
pkg_version=530
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_description="a terminal pager program used to view (but not change) the contents of a text file"
pkg_license=('gplv3+')
pkg_description="\
A terminal pager program used to view (but not change) the contents of a text \
file.\
"
pkg_upstream_url="http://www.greenwoodsoftware.com/less/index.html"
pkg_source=http://www.greenwoodsoftware.com/$pkg_name/${pkg_name}-${pkg_version}.tar.gz
pkg_shasum=503f91ab0af4846f34f0444ab71c4b286123f0044a4964f1ae781486c617f2e2
pkg_deps=(core/glibc core/ncurses core/pcre)
pkg_build_deps=(core/coreutils core/diffutils core/patch core/make core/gcc)
pkg_license=('gplv3+')
pkg_source="http://www.greenwoodsoftware.com/$pkg_name/${pkg_name}-${pkg_version}.tar.gz"
pkg_shasum="503f91ab0af4846f34f0444ab71c4b286123f0044a4964f1ae781486c617f2e2"
pkg_deps=(
core/glibc
core/ncurses
core/pcre
)
pkg_build_deps=(
core/coreutils
core/diffutils
core/patch
core/make
core/gcc
)
pkg_bin_dirs=(bin)

do_build() {
Expand All @@ -28,5 +41,8 @@ do_build() {
# significantly altered. Thank you!
# ----------------------------------------------------------------------------
if [[ "$STUDIO_TYPE" = "stage1" ]]; then
pkg_build_deps=(core/gcc core/coreutils)
pkg_build_deps=(
core/gcc
core/coreutils
)
fi

0 comments on commit ba63ec9

Please sign in to comment.