void-packages/srcpkgs/jeti-filemanager/template
2020-08-28 18:25:35 +02:00

20 lines
697 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"
CFLAGS="-fcommon"
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 $@;'
}