summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Bernardo2020-10-18 18:16:01 +0100
committerSamuel Bernardo2020-10-18 18:16:01 +0100
commitdf1e58cf9c8d6f8bb3d24c2897237cda0f3d1b06 (patch)
treea8d658f534731666569bee1b8ba6f463134b2a9e
downloadaur-df1e58cf9c8d6f8bb3d24c2897237cda0f3d1b06.tar.gz
Add version 3.3.5
Signed-off-by: Samuel Bernardo <samuel@lip.pt>
-rw-r--r--.SRCINFO21
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD34
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..17a2d35bd4a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = oidc-agent
+ pkgdesc = A set of tools to manage OpenID Connect tokens and make them easily usable from the command line
+ pkgver = 3.3.5
+ pkgrel = 1
+ url = https://github.com/indigo-dc/oidc-agent
+ arch = x86_64
+ license = MIT
+ makedepends = gcc
+ makedepends = make
+ makedepends = help2man
+ makedepends = libcurl-openssl-1.0
+ depends = libmicrohttpd
+ depends = libseccomp
+ depends = libsecret
+ depends = libsodium
+ depends = curl
+ source = oidc-agent-3.3.5.tar.gz::https://github.com/LIP-Computing/oidc-agent/archive/v3.3.5_so.tar.gz
+ sha256sums = c52bd83d34d6c097ae37e2b9ac84f3a6c296328e0122e8bf1e2552ee2b79b3c8
+
+pkgname = oidc-agent
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..6018250c235
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkgbuild
+*.log
+oidc-agent-*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..95dbac25ee3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Samuel Bernardo <samuelbernardo dot mail at gmail dot com>
+
+pkgbase=oidc-agent
+pkgname=('oidc-agent')
+pkgver=3.3.5
+pkgrel=1
+pkgdesc='A set of tools to manage OpenID Connect tokens and make them easily usable from the command line'
+arch=('x86_64')
+license=('MIT')
+url='https://github.com/indigo-dc/oidc-agent'
+makedepends=('gcc'
+ 'make'
+ 'help2man'
+ 'libcurl-openssl-1.0')
+depends=('libmicrohttpd'
+ 'libseccomp'
+ 'libsecret'
+ 'libsodium'
+ 'curl')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/LIP-Computing/oidc-agent/archive/v${pkgver}_so.tar.gz)
+sha256sums=('c52bd83d34d6c097ae37e2b9ac84f3a6c296328e0122e8bf1e2552ee2b79b3c8')
+
+build() {
+ cd "$srcdir"/${pkgbase}-${pkgver}_so
+ make
+}
+
+package() {
+ cd "$srcdir"/${pkgbase}-${pkgver}_so
+ make install_lib PREFIX="$pkgdir"
+ make install PREFIX="$pkgdir"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+# vim:set ts=2 sw=2 et: