nnn: actualizado a 4.6

Se reemplaza ncurses por netbsd-curses
This commit is contained in:
Tuxliban Torvalds 2022-08-11 12:10:18 -05:00
parent 8a6eaf325d
commit 494d1febf1
1 changed files with 8 additions and 6 deletions

View File

@ -1,18 +1,18 @@
# Template file for 'nnn'
pkgname=nnn
version=4.4
version=4.6
revision=1
build_style=gnu-makefile
make_install_target="install install-desktop"
hostmakedepends="pkg-config"
makedepends="ncurses-devel readline-devel gpm-devel"
hostmakedepends="pkgconf"
makedepends="netbsd-curses-devel"
short_desc="Missing terminal file browser for X"
maintainer="Tuxliban Torvalds <tenshalito@gmail.com>"
maintainer="O. Sánchez <o-sanchez@linuxmail.org>"
license="BSD-2-Clause"
homepage="https://github.com/jarun/nnn"
changelog="https://raw.githubusercontent.com/jarun/nnn/master/CHANGELOG"
distfiles="https://github.com/jarun/nnn/archive/v${version}.tar.gz"
checksum=e04a3f0f0c2af1e18cb6f005d18267c7703644274d21bb93f03b30e4fd3d1653
checksum=15acaf9a88cfb5a2a640d3ef55a48af644fba92b46aac0768efe94c4addf7e3f
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-fts-devel"
@ -22,10 +22,12 @@ pre_build() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
export LDLIBS=-lfts
fi
sed -i "s/-lgpm//g" Makefile
}
do_build() {
make O_STATIC=1
make O_STATIC=1 O_NORL=1
}
post_install() {