aboutsummaryrefslogtreecommitdiffstats
path: root/community/vifm/APKBUILD
blob: fe257413dd240c7c3644578bdd1e01963a154970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=vifm
pkgver=0.10.1
pkgrel=0
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 mdocml"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/vifm/$pkgname/archive/v$pkgver.tar.gz
	perl-interpreter-fix.patch"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--without-X11 \
		--without-gtk \
		--disable-build-timestamp
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="f71e53414323d36768f128e12a4287aea3b065567818fe89c012e24fb427f5a44c12583691f8ab6e6aea51fbb6a3f65447c0d3b35b6224dc8f5a18274fc71cc5  vifm-0.10.1.tar.gz
9aa55e00be8b8305184f16d76cb61cfc16ee90772c69c52d1b740f1fddbc2f7ea63a3586a0269c6bd6f5c5209c0956bec3a0c0094dc2a693390cde4c63ffa8d6  perl-interpreter-fix.patch"