summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 52c52d81ac75dc18fe840565f1f79354dfd0b748 (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
# Maintainer: Aaron Coach <aur at ezpz dot cz>

_npmname=passport-saml
_npmver=3.2.4
pkgname=nodejs-passport-saml
pkgver=3.2.4
pkgrel=1
pkgdesc="SAML 2.0 authentication with passport"
arch=(any)
url="https://github.com/node-saml/passport-saml"
license=(MIT)
makedepends=('npm')
depends=('nodejs<=18.15.0' 'nodejs-passport=0.5.3')
source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz")
noextract=("$_npmname-$_npmver.tgz")
sha256sums=('49a6fd87022b8a9c95d7aeb30e8ffc108c8b22839a6d7226d9271e24bea982c0')

package() {
	cd "$srcdir"
	local _npmdir="$pkgdir/usr/lib/node_modules/"
	mkdir -p "$_npmdir"
	cd "$_npmdir"
	npm install -g --prefix "$pkgdir/usr" $_npmname@$_npmver
}

# vim:set ts=2 sw=2 et: