# Contributor: Hossein Hosni # Maintainer: Hossein Hosni pkgname=isomd5sum pkgver=1.2.3 pkgrel=2 pkgdesc="Utilities for working with md5sum implanted in ISO images" url="https://github.com/rhinstaller/isomd5sum" arch="all !armv7 !armhf" license="GPL-2.0-only" makedepends="python3-dev popt-dev" checkdepends="cdrkit" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/isomd5sum/archive/refs/tags/$pkgver.tar.gz" build() { make } check() { # create 100KB dummy file to include in testiso.iso dd if=/dev/urandom of=dummy-file.bin bs=1 count=102400 make test } package() { make DESTDIR="$pkgdir" install-bin install-python } sha512sums=" a500faa368377c8fb5dfc311bc3a6dbadd253e6af7928b691d1fc11e25b69819a611f72fa201e70f5df257cdc491c97d1f612bb179fa49de1fb0a638d6ac7972 isomd5sum-1.2.3.tar.gz "