# Contributor: Milan P. Stanić # Maintainer: Milan P. Stanić pkgname=vifm pkgver=0.10.1 pkgrel=2 pkgdesc="ncurses vi-like file manager" options="!check" # runtests.log: make[4]: *** [Makefile:331: misc] Segmentation fault url="https://vifm.info/" arch="all" license="GPL-2.0-or-later" makedepends="ncurses-dev coreutils mandoc perl" subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch" source="$pkgname-$pkgver.tar.gz::https://github.com/vifm/vifm/archive/v$pkgver.tar.gz perl-interpreter-fix.patch" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --without-X11 \ --without-gtk \ --disable-build-timestamp make } check() { make check } package() { make DESTDIR="$pkgdir" install } bashcomp() { depends="" pkgdesc="Bash completions for $pkgname" install_if="$pkgname=$pkgver-r$pkgrel bash-completion" amove usr/share/bash-completion/completions } sha512sums="f71e53414323d36768f128e12a4287aea3b065567818fe89c012e24fb427f5a44c12583691f8ab6e6aea51fbb6a3f65447c0d3b35b6224dc8f5a18274fc71cc5 vifm-0.10.1.tar.gz 9aa55e00be8b8305184f16d76cb61cfc16ee90772c69c52d1b740f1fddbc2f7ea63a3586a0269c6bd6f5c5209c0956bec3a0c0094dc2a693390cde4c63ffa8d6 perl-interpreter-fix.patch"