void-packages/srcpkgs/jeti-filemanager/template
2018-11-12 19:05:28 +01:00

19 lines
679 B
Bash

# Template file for 'jeti-filemanager'
pkgname=jeti-filemanager
version=2.0.1
revision=2
build_style=gnu-makefile
makedepends="ncurses-devel"
short_desc="Total Commander filemanager ncurses clone"
maintainer="Harri Leino <mr.leino@gmail.com>"
license="GPL-3"
homepage="https://github.com/mrshampoo/jeti-filemanager/"
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 $@;'
}