aboutsummaryrefslogtreecommitdiffstats
path: root/community/rover/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/rover/APKBUILD')
-rw-r--r--community/rover/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/rover/APKBUILD b/community/rover/APKBUILD
new file mode 100644
index 0000000000..bee759a371
--- /dev/null
+++ b/community/rover/APKBUILD
@@ -0,0 +1,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"