git » flashprog.git » main » tree

[main] / PKGBUILD

# Maintainer: Bruno Pagani <archange@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Cilyan Olowen <gaknar@gmail.com>
# Contributor: fill <mailbox@fillo.ru>
# Contributor: Anton Shestakov <engored*ya.ru>

pkgname=flashprog
pkgver=1.1
pkgrel=1
pkgdesc="Utility for reading, writing, erasing and verifying flash ROM chips"
arch=(x86_64 'armv7h')
url="https://www.flashprog.org/"
license=(GPL-2.0-or-later)
depends=(
  libftdi
  libusb
)
makedepends=(
  cmocka
  git
  meson
  python-sphinx
)
optdepends=('dmidecode: for SMBIOS/DMI table decoder support')
source=(git+https://github.com/SourceArcade/flashprog.git#tag=v${pkgver})

build() {
  arch-meson ${pkgname} build -Dsbindir=/usr/bin
  meson compile -C build
}

package() {
  meson install -C build --destdir "${pkgdir}"

}
sha256sums=('c4e01b84001be95a1081d160c44b41a5fdd88c8456716fbb378a0bad3f8f183c')