From 07297c6db432a6c33f0734c750d9828b107ef8bb Mon Sep 17 00:00:00 2001 From: cr6git Date: Thu, 4 Oct 2018 14:11:35 +0200 Subject: [PATCH] hstr: update to 2.0.0. --- srcpkgs/hstr/patches/cross.patch | 12 +++++++----- srcpkgs/hstr/template | 11 ++++------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/srcpkgs/hstr/patches/cross.patch b/srcpkgs/hstr/patches/cross.patch index 90a4e3d6588..7c6ad467de8 100644 --- a/srcpkgs/hstr/patches/cross.patch +++ b/srcpkgs/hstr/patches/cross.patch @@ -1,10 +1,12 @@ ---- configure.ac.orig 2017-09-30 10:01:44.000000000 +0000 -+++ configure.ac 2017-10-05 07:45:00.636956940 +0000 -@@ -106,7 +106,4 @@ +--- configure.ac.orig 2018-10-04 11:22:39.253662649 +0200 ++++ configure.ac 2018-10-04 11:23:27.646660149 +0200 +@@ -116,9 +116,6 @@ AC_FUNC_MALLOC AC_CHECK_FUNCS([memset strdup strstr]) -# Bash@Ubuntu@Windows --AC_CHECK_FILE(/tmp/hh-ms-wsl,AC_DEFINE(__MS_WSL__), []) +-AC_CHECK_FILE(/tmp/hstr-ms-wsl,AC_DEFINE(__MS_WSL__), []) - - AC_OUTPUT + # Bash CLI autocomplete + AC_ARG_WITH([bash-completion-dir], + AS_HELP_STRING([--with-bash-completion-dir[=PATH]], diff --git a/srcpkgs/hstr/template b/srcpkgs/hstr/template index 25083efb2fa..5ba82598ca2 100644 --- a/srcpkgs/hstr/template +++ b/srcpkgs/hstr/template @@ -1,7 +1,8 @@ # Template file for 'hstr' pkgname=hstr -version=1.27 +version=2.0.0 revision=1 +wrksrc="hstr" build_style=gnu-configure hostmakedepends="automake pkg-config" makedepends="readline-devel" @@ -10,8 +11,8 @@ maintainer="Diogo Leal " license="Apache-2.0" homepage="https://github.com/dvorka/hstr" changelog="https://raw.githubusercontent.com/dvorka/hstr/master/Changelog" -distfiles="https://github.com/dvorka/hstr/archive/${version}.tar.gz" -checksum=b13b517f91b80d4e75d162b2045ca2563d852051f7f189270ed6ceecaf735dfd +distfiles="${homepage}/releases/download/${version%.*}/hstr-${version}-tarball.tgz" +checksum=9844587d4e91daa8a78eeeac13e995995fff36616fda5f374da7301c9bce15e4 pre_configure() { grep -rli '#include ' src | xargs -i@ sed -i 's|ncursesw/curses.h|curses.h|g' @ @@ -19,7 +20,3 @@ pre_configure() { automake --force-missing --add-missing autoconf } - -post_install() { - vlicense LICENSE -}