From f2fe18efcc48459d7ac24f3320719d4aa487d644 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Tue, 5 Jun 2018 13:45:31 +0000 Subject: [PATCH] tig: bump to 2.3.3, add TEST_REQUIRES. Also drop outdated HOMEPAGE and refresh DESCRIPTION. --- .../{tig-2.3.0.recipe => tig-2.3.3.recipe} | 32 +++++++++++-------- 1 file changed, 18 insertions(+), 14 deletions(-) rename dev-vcs/tig/{tig-2.3.0.recipe => tig-2.3.3.recipe} (70%) diff --git a/dev-vcs/tig/tig-2.3.0.recipe b/dev-vcs/tig/tig-2.3.3.recipe similarity index 70% rename from dev-vcs/tig/tig-2.3.0.recipe rename to dev-vcs/tig/tig-2.3.3.recipe index 84f595b45..c02daa447 100644 --- a/dev-vcs/tig/tig-2.3.0.recipe +++ b/dev-vcs/tig/tig-2.3.3.recipe @@ -1,28 +1,30 @@ SUMMARY="A text mode interface for git" -DESCRIPTION=" -Tig functions mainly as a git repository browser. It can also help in the \ -staging changes for commit at chunk level and act as a pager for output \ -different git commands." -HOMEPAGE="http://jonas.nitro.dk/tig/ - https://jonas.github.io/tig/" -COPYRIGHT="2006-2016 Jonas Fonseca" +DESCRIPTION="Tig is an ncurses-based text-mode interface for git. \ +It functions mainly as a Git repository browser, but can also assist in \ +staging changes for commit at chunk level and act as a pager for output from \ +various Git commands." +HOMEPAGE="https://jonas.github.io/tig/" +COPYRIGHT="2006-2018 Jonas Fonseca" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="https://github.com/jonas/tig/releases/download/tig-$portVersion/tig-$portVersion.tar.gz" -CHECKSUM_SHA256="686f0386927904dc6410f0b1a712cb8bd7fff3303f688d7dc43162f4ad16c0ed" +CHECKSUM_SHA256="d39d10c5a6db7b7663d51eff8ac2eaf075e319f5edabe09cb63a2b1b24846bea" ARCHITECTURES="!x86_gcc2 x86 x86_64" -SECONDARY_ARCHITECTURES="!x86_gcc2 x86" +SECONDARY_ARCHITECTURES="x86" -if [ "$targetArchitecture" != "x86_gcc2" ]; then - commandBinDir=$binDir -else +commandSuffix=$secondaryArchSuffix +commandBinDir=$binDir +if [ "$targetArchitecture" = x86_gcc2 ]; then + commandSuffix= commandBinDir=$prefix/bin fi +GLOBAL_WRITABLE_FILES="settings/tigrc keep-old" + PROVIDES=" tig$secondaryArchSuffix = $portVersion - cmd:tig = $portVersion + cmd:tig$commandSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix @@ -49,7 +51,9 @@ BUILD_PREREQUIRES=" cmd:pkg_config$secondaryArchSuffix " -GLOBAL_WRITABLE_FILES="settings/tigrc keep-old" +TEST_REQUIRES=" + cmd:git + " BUILD() {