void-packages/srcpkgs/jeti-filemanager/template
2017-01-27 20:23:42 +01:00

19 lines
675 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=f5d3bcd5913eb16cfe5a06ee9feeb8617924cc364607efe7560bf9bce7af45b6
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 $@;'
}