Merge pull request #2458 from diogoleal/hstr

New package: hstr-1.17
This commit is contained in:
Jürgen Buchmüller 2015-09-06 02:18:33 +02:00
commit 7732188276
1 changed files with 22 additions and 0 deletions

22
srcpkgs/hstr/template Normal file
View File

@ -0,0 +1,22 @@
# Template file for 'hstr'
pkgname=hstr
version=1.17
revision=1
wrksrc=${pkgname}
build_style=gnu-configure
makedepends="ncurses-devel readline-devel"
short_desc="Easily view, navigate, search and manage your command history"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Apache"
homepage="https://github.com/dvorka/hstr"
distfiles="https://github.com/dvorka/hstr/releases/download/1.17/hh-1.17-src.tgz"
checksum=68eae9ecb022d3f492b85e1479d9b81e3b47b568b7714fd35e4e0fca50234c6e
pre_build(){
sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" src/include/hstr_curses.h
sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" src/hstr.c
}
post_install(){
vlicense LICENSE
}