openssl-sha512sum-shim: new ptrcport
This commit is contained in:
parent
e5b1c725a4
commit
b075944c2c
1 changed files with 31 additions and 0 deletions
31
openssl-sha512sum-shim/APKBUILD
Normal file
31
openssl-sha512sum-shim/APKBUILD
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||||
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||||
pkgname=openssl-sha512sum-shim
|
||||
pkgver=1.0.2
|
||||
pkgrel=0
|
||||
pkgdesc="small execline wrapper for openssl dgst -sha512"
|
||||
url="https://gitlab.alpinelinux.org/ptrcnull/openssl-sha512sum-shim"
|
||||
arch="noarch"
|
||||
license="BSD-2-Clause"
|
||||
depends="execline openssl s6-portable-utils"
|
||||
source="https://gitlab.alpinelinux.org/ptrcnull/openssl-sha512sum-shim/-/archive/$pkgver/openssl-sha512sum-shim-$pkgver.tar.gz"
|
||||
|
||||
check() {
|
||||
(
|
||||
cd "$srcdir"
|
||||
echo ""
|
||||
"$builddir"/sha512sum *.tar.gz
|
||||
echo ""
|
||||
) > sums1.txt
|
||||
echo "$sha512sums" > sums2.txt
|
||||
|
||||
cmp sums1.txt sums2.txt
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 sha512sum "$pkgdir"/usr/bin/sha512sum
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
18faafc97528a77d92fc77832aafbaf359d371fa4f63c3a368237b13d76253e0ea781d62bbe88c42b39a18019bd7e3580a3d194abce824ee1f3bae4730f91666 openssl-sha512sum-shim-1.0.2.tar.gz
|
||||
"
|
Reference in a new issue