# Contributor: Frank Hunleth # Maintainer: Frank Hunleth pkgname=fwup pkgver=1.2.5 pkgrel=0 pkgdesc="Configurable embedded Linux firmware update creator and runner" url="https://github.com/fhunleth/fwup" arch="all" license="Apache-2.0" makedepends="linux-headers confuse-dev libarchive-dev libsodium-dev help2man dosfstools mtools zip unzip" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/fhunleth/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="63d3fd905259059933cf12753801863255840db0ad62463e0adb37b3beaa2f66d7f055d8e6a713e1392fe08c4007e72facd374859c6dd007437382568bbc7c3c fwup-1.2.5.tar.gz"