Hossein Hosni 4d0553eadb testing/isomd5sum: new aport
https://github.com/rhinstaller/isomd5sum
Utilities for working with md5sum implanted in ISO images
2021-07-26 12:33:50 +00:00

32 lines
891 B
Plaintext

# Contributor: Hossein Hosni <hosni.hossein@gmail.com>
# Maintainer: Hossein Hosni <hosni.hossein@gmail.com>
pkgname=isomd5sum
pkgver=1.2.3
pkgrel=0
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
"