blob: 96632fd6305ae0aa7da3b03d9531876e5129c7ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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
"
|