diff options
author | funilrys | 2018-11-16 19:23:43 +0100 |
---|---|---|
committer | funilrys | 2018-11-16 19:23:43 +0100 |
commit | 837bcbc67ecd94e5f328bb314b16c2c838dfa7be (patch) | |
tree | 43433ec10ffe6dffacaaefe61779346531bf7cf7 /PKGBUILD | |
download | aur-837bcbc67ecd94e5f328bb314b16c2c838dfa7be.tar.gz |
Introduction of nodejs-asciicast2gif
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4fbd25729fa1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Nissar Chababy <funilrys at outlook dot com> + +_npmname=asciicast2gif +_npmver=0.2.0 +pkgname=nodejs-asciicast2gif +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Generate GIF animations from asciicasts (asciinema recordings)" +arch=(any) +url="https://github.com/asciinema/asciicast2gif" +license=(MIT) +depends=('nodejs' 'npm') +optdepends=() +source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz) +noextract=($_npmname-$_npmver.tgz) +sha1sums=(2265003593b7c601d589040b27ef5570de22f692) + +package() { + cd $srcdir + local _npmdir="$pkgdir/usr/lib/node_modules/" + mkdir -p $_npmdir + cd $_npmdir + npm install -g --prefix "$pkgdir/usr" $_npmname@$_npmver +}
\ No newline at end of file |