diff options
author | Hossein Hosni <hosni.hossein@gmail.com> | 2021-07-23 21:22:28 +0000 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2021-07-26 12:33:50 +0000 |
commit | 4d0553eadb4f8066d80c365eadb80ad8d2d9d778 (patch) | |
tree | bdd4f69625d8566def222709f67e079588224d0f /testing | |
parent | dc31b1d9aee2589a83eb13d9294617c66c3c0679 (diff) | |
download | aports-4d0553eadb4f8066d80c365eadb80ad8d2d9d778.tar.gz aports-4d0553eadb4f8066d80c365eadb80ad8d2d9d778.tar.bz2 aports-4d0553eadb4f8066d80c365eadb80ad8d2d9d778.tar.xz |
testing/isomd5sum: new aport
https://github.com/rhinstaller/isomd5sum
Utilities for working with md5sum implanted in ISO images
Diffstat (limited to 'testing')
-rw-r--r-- | testing/isomd5sum/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/isomd5sum/APKBUILD b/testing/isomd5sum/APKBUILD new file mode 100644 index 00000000000..96632fd6305 --- /dev/null +++ b/testing/isomd5sum/APKBUILD @@ -0,0 +1,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 +" |