summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b6265d94e7c28a82e105c0f3fefa3b8c636ee362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Caleb Maclennan <caleb@alerque.com>

_npmname=pandiff
pkgname=nodejs-"$_npmname"
pkgver=0.4.0
pkgrel=1
pkgdesc='Prose diffs for any document format supported by Pandoc'
arch=('any')
url="https://github.com/davidar/pandiff#readme"
license=('MIT')
depends=('nodejs' 'npm' 'pandoc')
optdepends=()
source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
noextract=("${source[@]##*/}")
sha256sums=('c0ed3023241a27286cd8f7ce9388d456d39517cb65647565027abdb50f8d99f5')

package() {
  npm install -g --prefix "$pkgdir/usr" "${source[@]##*/}"
}

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