summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b0e755866aef22cccfe6bcf0179e38f5a61bdba2 (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
# Maintainer: flying sheep <flying-sheep@web.de>
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=nodejs-jsdoc
pkgver=3.5.5
pkgrel=2
pkgdesc='An API documentation generator for JavaScript'
url='https://github.com/jsdoc3/jsdoc'
arch=(any)
license=(APACHE)
depends=(nodejs)
makedepends=(npm)
source=("https://registry.npmjs.org/jsdoc/-/jsdoc-$pkgver.tgz")
md5sums=('50026a112a0adcc8d1413ab838f76fe6')

build() {
	cd "$srcdir/package"
	npm install
	npm pack
}

package() {
	npm install "$srcdir/package/jsdoc-$pkgver.tgz" -g --user root --prefix "$pkgdir/usr"
}