# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ncompress
pkgver=4.2.4.4
pkgrel=0
pkgdesc="A fast, simple LZW compressor"
url="https://github.com/vapier/ncompress"
arch="all"
license="PD"
options="!check"  # No test suite.
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/ncompress/ncompress-$pkgver.tar.gz"

build() {
	cd "$builddir"
	make BINDIR=/usr/bin MANDIR=/usr/share/man/man1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" BINDIR=/usr/bin MANDIR=/usr/share/man/man1 install
}

sha512sums="abc7bd96daaab0b83d5ca18ef4b8b4c6528632653a0882a4e0eda4fb3f99e23aae60ee30193e79104ea2ac8fb5816ac3b0bdebb08322db6bde6b8ef1639527be  ncompress-4.2.4.4.tar.gz"