void-packages/srcpkgs/jeti-filemanager/template
cr6git 0506c576bd jeti-filemanager: fix wrong checksum
Closes: #10486 [via git-merge-pr]
2018-01-07 19:21:35 +01:00

19 lines
679 B
Bash

# Template file for 'jeti-filemanager'
pkgname=jeti-filemanager
version=2.0.1
revision=1
build_style=gnu-makefile
homepage="https://github.com/mrshampoo/jeti-filemanager/"
makedepends="ncurses-devel"
short_desc="Total Commander filemanager ncurses clone"
maintainer="Harri Leino <mr.leino@gmail.com>"
license="GPL-3"
distfiles="https://github.com/mrshampoo/jeti-filemanager/archive/${version}.tar.gz"
checksum=4da4ddee8fe6774b91ea473810d6c6898777c9bbcb8816996d72095dc0e18691
_LIBS="-lncurses"
pre_build() {
# Fix missing $(LDFLAGS) and wrong order of $^ and $(_LIBS) when linking
sed -i Makefile -e 's;$(CC) $(CFLAGS) $(_LIBS) $^ -o $@;$(CC) $(LDFLAGS) $^ $(_LIBS) -o $@;'
}