# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=fbset
pkgver=2.1
pkgrel=0
pkgdesc="Utility to manipulate the framebuffer"
url="http://users.telenet.be/geertu/Linux/fbdev/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0-only"
depends=""
makedepends="bison flex"
subpackages="$pkgname-doc"
#source="http://users.telenet.be/geertu/Linux/fbdev/fbset-$pkgver.tar.gz
source="https://distfiles.adelielinux.org/source/upstream/$pkgname-$pkgver.tar.gz
	types.patch
	"

build() {
	make -j1
}

package() {
	install -m755 -Dt "$pkgdir"/usr/sbin fbset
	install -m644 -Dt "$pkgdir"/usr/share/man/man5 fb.modes.5
	install -m644 -Dt "$pkgdir"/usr/share/man/man8 fbset.8
}

sha512sums="7e0380760f77b0db7dcc128f6375a3ed8da4b8521d1926faba27812c5cb20e6f1a62f3a539591a81a6b7e7986940db4cd83e03d6de487e0ab7f0760ed1d21b28  fbset-2.1.tar.gz
5c4443f20b8342d2af6f1ddad9b2680c6e1a187f179645cb849eae921faf9c31a5d50fe59145357dff822fb6b0c0b717a590f7370dcdbc66cb283397960932b0  types.patch"