aboutsummaryrefslogtreecommitdiffstats
path: root/community/rover/APKBUILD
blob: 100dfad98bf394fae603a8eab4a584936d044367 (plain) (blame)
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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=rover
pkgver=1.0.1
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"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/lecram/rover/archive/v$pkgver.tar.gz"

prepare() {
	default_prepare
	sed -i 's/PREFIX=\/usr\/local/PREFIX=\/usr/' Makefile
	sed -i 's/MANPREFIX=\$(PREFIX)\/man/MANPREFIX=\$(PREFIX)\/share\/man/' Makefile
}

build() {
	make
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="
9cac075438fe923064b143650670915bfb8ddad852d58aab451d6ccc4ea1fca15d917834c5cf153e964a3a9cfca08ec0d5263e2516ed44f8c9e5555edd8836d4  rover-1.0.1.tar.gz
"