hstr: update to 2.0.0.
This commit is contained in:
parent
553441a262
commit
07297c6db4
|
@ -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]],
|
||||
|
|
|
@ -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 <diogo@diogoleal.com>"
|
|||
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 <ncursesw/curses.h>' 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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue