blob: 8826022b3fcedc4699871b4490ef355d1422b0c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
pkgname=mystmd
pkgver=1.3.25
pkgrel=1
pkgdesc="Command line tools for working with MyST Markdown"
url="https://github.com/jupyter-book/${pkgname}"
arch=(any)
license=(MIT)
depends=(nodejs npm)
options=('!emptydirs')
source=(https://registry.npmjs.org/${pkgname}/-/${pkgname}-${pkgver}.tgz)
b2sums=('3a08260dfeab93d5167fee822120798b091f200fe33a7728f2b568602f2c7caaa1d1727ee3e6128946cae048732f9f7a99d5abc214458c4a26aff7b7e9b54e6f')
package() {
npm install -g --cache "$srcdir/npm-cache" --prefix "$pkgdir/usr" "${srcdir}/${pkgname}-${pkgver}.tgz"
find "$pkgdir/usr" -type d -exec chmod 755 {} +
chown -R root:root "$pkgdir/usr"
}
|