summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3e7b8771f25e3b41cbc366bc620e4da5c837137b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Samuel Bernardo <samuelbernardo at lip dot pt>

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=('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: