archrelease: copy trunk to community-any
[ArchLinux/community.git] / minisign / trunk / PKGBUILD
blob75c0d01ea9ca0e44c5f240dab784601f3bf892ea
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: T.J. Townsend <blakkheim@archlinux.org>
4 pkgname=minisign
5 pkgver=0.11
6 pkgrel=1
7 pkgdesc="A dead-simple tool to sign files and verify digital signatures"
8 arch=('x86_64')
9 url="https://github.com/jedisct1/minisign"
10 license=('custom:ISC')
11 depends=('libsodium')
12 makedepends=('cmake' 'git')
13 _commit=feefda7af87f64342bd07bf446ceb0467cbd0fb4 # git rev-parse $pkgver
14 source=("git+https://github.com/jedisct1/minisign.git?signed#tag=$_commit")
15 sha512sums=('SKIP')
16 validpgpkeys=(54A2B8892CC3D6A597B92B6C210627AABA709FE1) # Frank Denis
18 build() {
19   cmake -B build -S $pkgname \
20     -DCMAKE_INSTALL_PREFIX=/usr \
21     -DCMAKE_BUILD_TYPE=None \
22     -Wno-dev
23   cmake --build build
26 package() {
27   DESTDIR="$pkgdir" cmake --install build
29   install -Dm644 $pkgname/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE