Felix Singer d2ee4e0f69 community/flashprog: Make Clayton Craft the maintainer
Clayton has more experience with Alpine than I do. So make him the
maintainer and I will stay as a contributor doing updates.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-02-05 20:54:42 +00:00

40 lines
1019 B
Plaintext

# Contributor: Felix Singer <felixsinger@posteo.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname='flashprog'
pkgver=1.3
pkgrel=1
source="https://flashprog.org/releases/flashprog-v$pkgver.tar.bz2"
pkgdesc="A utility for identifying, reading, writing, verifying and erasing flash chips"
url="https://flashprog.org"
arch="all"
license="GPL-2.0-or-later"
depends="dmidecode"
makedepends="
libjaylink-dev
libgpiod-dev
libftdi1-dev
libusb-dev
linux-headers
meson
pciutils-dev
"
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
builddir="$srcdir"/$pkgname-v$pkgver
options="!check" # can't run without special setup..?
build() {
# internal dmi- false- prefer dmidecode cli
abuild-meson \
-Duse_internal_dmi=false \
. output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
269d09c92f17fed2897474633374233ed05f99737c4c28897e0d2ed9dff31b5add4d30ac02d1c7db1246faab928c034a4a82a9b54566565a228788b954f57e33 flashprog-v1.3.tar.bz2
"