aboutsummaryrefslogtreecommitdiffstats
path: root/community/rover/APKBUILD
blob: 4c1ad1c57b0e7ca1e12392945a45a75b9b4b81f0 (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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=rover
pkgver=1.0.0
pkgrel=0
pkgdesc="Rover is a small file browser that aims to be simple, fast and portable"
url="http://lecram.github.io/p/rover/"
arch="all"
license="Public-Domain"
makedepends="ncurses-dev ncurses5-widec-libs"
subpackages="$pkgname-doc"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/lecram/rover/archive/v${pkgver}.tar.gz"

builddir=${srcdir}/${pkgname}-${pkgver}
prepare() {
	cd "$builddir"
	sed -i 's/PREFIX=\/usr\/local/PREFIX=\/usr/' Makefile
	sed -i 's/MANPREFIX=\$(PREFIX)\/man/MANPREFIX=\$(PREFIX)\/share\/man/' Makefile
}

build() {
	cd "$builddir"
	make
}

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

sha512sums="ab19eb57d6e03f0c76befdf5b8e7cd07e0beddafba89824483430f70cb161e66a5722ba8eb4e3db16ed50d76be1f728c9e324cca56e95c3baccd8468af137e3f  rover-1.0.0.tar.gz"