# Contributor: omni <omni@gitlab.alpinelinux.org>
# Maintainer:
pkgname=shfm
pkgver=0.4.2
pkgrel=1
pkgdesc="file manager written in POSIX shell"
url="https://github.com/dylanaraps/shfm"
arch="noarch"
license="MIT"
source="$pkgname-$pkgver.tar.gz::https://github.com/dylanaraps/shfm/archive/$pkgver.tar.gz"
subpackages="$pkgname-doc:doc:noarch"

package() {
	install -Dm0755 $pkgname -t "$pkgdir"/usr/bin
	install -Dm0644 README -t "$pkgdir"/usr/share/doc/$pkgname
	install -Dm0644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}

sha512sums="57e8af53ea0c65585db0721eae465ea18e9611e2032af0378218dcd8bad798cdc5c3c54c27167093b5833e5b11de3b9ad9f32c52449855a21310b9dd06042c6e  $pkgname-$pkgver.tar.gz"
