summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Michaelis2018-07-19 13:19:19 +0200
committerKai Michaelis2018-07-19 13:19:19 +0200
commit16592e9470a773022a3bbd03c56b522bf0e43d2b (patch)
treea3eb4052b3bd17b358e1cb64d61ea0b660b23d2c
downloadaur-16592e9470a773022a3bbd03c56b522bf0e43d2b.tar.gz
initial packet upload
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD40
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..543f0c44e54
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = sequoia-git
+ pkgdesc = A modular OpenPGP library
+ pkgver = 675
+ pkgrel = 1
+ url = https://sequoia-pgp.org/
+ arch = x86_64
+ arch = i686
+ groups = devel
+ license = GPL3
+ makedepends = rust
+ makedepends = cargo
+ makedepends = git>=1
+ depends = nettle>=3
+ depends = sqlite>=3
+ depends = openssl>=1.1
+ provides = sequoia
+ conflicts = sequoia
+ source = sequoia-git::git+https://gitlab.com/sequoia-pgp/sequoia.git
+ md5sums = SKIP
+
+pkgname = sequoia-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d12a135ee97
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Kai Michaelis <seu@das-labor.org>
+pkgname=sequoia-git
+pkgver=675
+pkgrel=1
+pkgdesc="A modular OpenPGP library"
+arch=('x86_64' 'i686')
+url="https://sequoia-pgp.org/"
+license=('GPL3')
+groups=('devel')
+depends=(
+ 'nettle>=3'
+ 'sqlite>=3'
+ 'openssl>=1.1')
+makedepends=(
+ 'rust'
+ 'cargo'
+ 'git>=1')
+provides=('sequoia')
+conflicts=('sequoia')
+source=($pkgname::git+https://gitlab.com/sequoia-pgp/sequoia.git)
+md5sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ echo "$(git rev-list --count HEAD)"
+}
+
+build() {
+ cd $pkgname
+ cargo build --all --release
+}
+
+package() {
+ cd $pkgname
+ install -d -m755 "$pkgdir/usr/bin"
+ install -D -s -m555 "$srcdir/$pkgname/target/release/sq" "$pkgdir/usr/bin/sq"
+ install -D -s -m555 "$srcdir/$pkgname/target/release/sqv" "$pkgdir/usr/bin/sqv"
+ install -d -m755 "$pkgdir/usr/lib/sequoia"
+ install -D -s -m555 "$srcdir/$pkgname/target/release/sequoia-public-key-store" "$pkgdir/usr/lib/sequoia/sequoia-public-key-store"
+}