1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: T.J. Townsend <blakkheim@archlinux.org>
7 pkgdesc="A dead-simple tool to sign files and verify digital signatures"
9 url="https://github.com/jedisct1/minisign"
10 license=('custom:ISC')
12 makedepends=('cmake' 'git')
13 _commit=feefda7af87f64342bd07bf446ceb0467cbd0fb4 # git rev-parse $pkgver
14 source=("git+https://github.com/jedisct1/minisign.git?signed#tag=$_commit")
16 validpgpkeys=(54A2B8892CC3D6A597B92B6C210627AABA709FE1) # Frank Denis
19 cmake -B build -S $pkgname \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DCMAKE_BUILD_TYPE=None \
27 DESTDIR="$pkgdir" cmake --install build
29 install -Dm644 $pkgname/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE