# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: sin <sin@2f30.org>
# Maintainer: sin <sin@2f30.org>
pkgname=noice
pkgver=0.5
pkgrel=0
pkgdesc="a simple file browser"
url="http://git.2f30.org/noice"
arch="all"
license="BSD-2"
depends=""
depends_dev=""
makedepends="ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="http://dl.2f30.org/releases/noice-$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"
build() {
	make -C "$_builddir" || return 1
}

package() {
	make \
		PREFIX=/usr \
		MANPREFIX=/usr/share/man \
		DESTDIR="$pkgdir" -C "$_builddir" install || return 1
}

md5sums="b386a631915742e67d4ebf6604d194c9  noice-0.5.tar.gz"
sha256sums="8991e694271388f1e024089a126bd07ae2986ef527a5dc376e6464fd947f277a  noice-0.5.tar.gz"
sha512sums="ffe77adbe555d448fd118c8a7f3f4c411abe86f04e06d00e2e1c9fa400c8bcc495e81450b54d9698d2ddda69322060ee486263fab5536e3a7fb52ae7fd03c403  noice-0.5.tar.gz"