# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=rover
pkgver=1.0.1
pkgrel=2
pkgdesc="Simple file browser for the terminal"
url="https://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"

build() {
	make
}

check() {
	./rover --version
}

package() {
	install -Dvm755 rover -t "$pkgdir"/usr/bin/
	install -Dvm644 rover.1 -t "$pkgdir"/usr/share/man/man1/
}

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