summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Light2015-06-13 13:11:00 +0200
committerWilliam Light2015-06-13 13:11:00 +0200
commit676f53139dae42d6bb9e980f894eba330dbc7388 (patch)
treec1fb6b4c6d58d7ea4d5c1e21ce71053c7ba2f823
downloadaur-676f53139dae42d6bb9e980f894eba330dbc7388.tar.gz
initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD32
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..d3a81f35112c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = minisign-git
+ pkgdesc = A dead simple tool to sign files and verify signatures.
+ pkgver = 51b5499
+ pkgrel = 1
+ url = https://jedisct1.github.io/minisign/
+ arch = any
+ license = MIT
+ makedepends = cmake
+ depends = libsodium
+ provides = minisign
+ source = git://github.com/jedisct1/minisign
+ sha256sums = SKIP
+
+pkgname = minisign-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..a7d9f18af9c0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Your Name <youremail@domain.com>
+pkgname=minisign-git
+pkgver=51b5499
+pkgrel=1
+pkgdesc='A dead simple tool to sign files and verify signatures.'
+arch=('any')
+url='https://jedisct1.github.io/minisign/'
+license=('MIT')
+depends=('libsodium')
+makedepends=('cmake')
+provides=('minisign')
+source=('git://github.com/jedisct1/minisign')
+sha256sums=('SKIP') #autofill using updpkgsums
+
+pkgver() {
+ cd minisign
+ git rev-parse --short HEAD
+}
+
+build() {
+ cd minisign
+
+ mkdir -p build
+ cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd minisign/build
+ make DESTDIR="$pkgdir/" install
+}