aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rover/APKBUILD
blob: bee759a371f97a495584b5fb1a3ae493db8a815f (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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=rover
pkgver=0.4.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"
depends=""
depends_dev=""
makedepends="ncurses-dev ncurses5-widec-libs"
install=""
subpackages="$pkgname-doc"
source="saveas-https://github.com/lecram/rover/archive/v${pkgver}.tar.gz/${pkgname}-${pkgver}.tgz"

_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
}

md5sums="6a3ffae4b4c1658c9c959e1ca589347b  rover-0.4.1.tgz"
sha256sums="4437321d37f3e552e8abd19ad3d391a4e08472b584179b45d3d1a3a5c24db57b  rover-0.4.1.tgz"
sha512sums="1645b88140b2c209ca292aa1f7ed6e18e5f4ac0c093e34c3bbdade71e215f887fe7523552a40e06493b7dbf1985d83ce56858145dbcda63a9a8e36044d8fdce7  rover-0.4.1.tgz"