mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-11 15:58:31 +02:00
32 lines
917 B
Text
32 lines
917 B
Text
# Contributor: Michael Zuo <muh.muhten@gmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=minisign
|
|
pkgver=0.12
|
|
pkgrel=0
|
|
pkgdesc="Simple tool to sign files and verify signatures"
|
|
url="https://jedisct1.github.io/minisign/"
|
|
arch="all"
|
|
license="ISC"
|
|
makedepends="cmake libsodium-dev samurai"
|
|
subpackages="$pkgname-doc"
|
|
source="https://github.com/jedisct1/minisign/archive/$pkgver/minisign-$pkgver.tar.gz"
|
|
options="!check" # no test suite
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
|
|
install -Dvm644 LICENSE \
|
|
-t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
}
|
|
|
|
sha512sums="
|
|
fc95020fef3ae63ab974a20c39b9bf05df957c40838fceb73cb10d6cec9880d882727b6a0240b81b4a7593ff2603d4eef4b32b0857dcf5f85de5e0b7573086ed minisign-0.12.tar.gz
|
|
"
|