pkgname=0xffff
pkgver=0.8
pkgrel=0
pkgdesc="Open Free Fiasco Firmware Flasher for Maemo devices"
url="https://github.com/pali/0xFFFF"
arch="all"
license="GPL-3.0-or-later"
makedepends="linux-headers libusb-compat-dev"
subpackages="$pkgname-doc"
source="https://github.com/pali/0xFFFF/releases/download/$pkgver/0xFFFF-$pkgver.tar.gz"
builddir="$srcdir/0xFFFF-$pkgver"
options="!check" # No test suite

build() {
	make
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir/" install
}

sha512sums="514104d60561d601628081de44109c89a21e861e2a0c8ad7e5b9b0fef19c068af9ee1b274a55722083f85b0ca9f6a84a8c6cd97b9017d85b4e975974bb73506a  0xFFFF-0.8.tar.gz"
