void-packages/srcpkgs/hstr/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

23 lines
777 B
Bash

# Template file for 'hstr'
pkgname=hstr
version=2.3
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="readline-devel"
short_desc="Easily view, navigate, search and manage your command history"
maintainer="Neel Chotai <neel@chot.ai>"
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=c7e7408671757b3f4be9c5a59b4e2d56e7a7b601ace2a94eb6b2b61f20ee890b
patch_args=-Np0
pre_configure() {
vsed -i 's|ncursesw/curses.h|curses.h|g' src/include/hstr.h
vsed -i 's|ncursesw/curses.h|curses.h|g' src/include/hstr_curses.h
aclocal
automake --force-missing --add-missing
autoconf
}