summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-04-13 17:10:42 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-04-13 17:10:42 (GMT)
commit35c5d3f4623c3d74b8a00c1fcf10ba74f204eebc (patch)
treefc2c9ca3d468f553a87ed4ad7a48010ee4bf6cdc /abs/extra
parent78a8fc5a46d9ecb1ff3db3dedebbc35f79a7eeb6 (diff)
downloadlinhes_pkgbuild-35c5d3f4623c3d74b8a00c1fcf10ba74f204eebc.zip
linhes_pkgbuild-35c5d3f4623c3d74b8a00c1fcf10ba74f204eebc.tar.gz
linhes_pkgbuild-35c5d3f4623c3d74b8a00c1fcf10ba74f204eebc.tar.bz2
minisign: dep of libsodium
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/minisign/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/extra/minisign/PKGBUILD b/abs/extra/minisign/PKGBUILD
new file mode 100644
index 0000000..ceba022
--- /dev/null
+++ b/abs/extra/minisign/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+
+pkgname=minisign
+pkgver=0.8
+pkgrel=1
+pkgdesc="A dead simple tool to sign files and verify digital signatures."
+arch=('x86_64')
+url="https://github.com/jedisct1/minisign"
+license=('custom:ISC')
+depends=('libsodium')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jedisct1/minisign/archive/$pkgver.tar.gz")
+sha512sums=('79bf626d0c15e39ce3bdf53600038028c0b22904b648074bf516a9ea6962c9486c41244e80637a5fbac090cce1ed9b4b3d57b8a02632646e01b43aa413cd8bd9')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+
+ cmake ../minisign-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ make -C build DESTDIR="$pkgdir" install
+
+ install -Dm644 minisign-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}