kakoune: use project's cxxflags

Not sure if it should warrant a rebuild but this package is cheap to be
built.
This commit is contained in:
Đoàn Trần Công Danh 2021-01-14 19:17:29 +07:00
parent 86d9b50061
commit 56dd8bdbbc
1 changed files with 8 additions and 3 deletions

View File

@ -2,11 +2,12 @@
pkgname=kakoune
reverts=20180409_1
version=2020.09.01
revision=1
revision=2
build_wrksrc="src"
build_style=gnu-makefile
make_build_args="debug=no"
make_install_args="debug=no"
make_build_args="debug=no gzip_man=no"
make_install_args="debug=no gzip_man=no"
make_use_env=yes
hostmakedepends="pkg-config"
makedepends="ncurses-devel"
short_desc="Selection-based vim-like editor with less keystrokes"
@ -15,3 +16,7 @@ license="Unlicense"
homepage="https://kakoune.org"
distfiles="https://github.com/mawww/kakoune/releases/download/v${version}/kakoune-${version}.tar.bz2"
checksum=861a89c56b5d0ae39628cb706c37a8b55bc289bfbe3c72466ad0e2757ccf0175
post_patch() {
vsed -i -e 's/-O3//' Makefile
}