aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-09-20 19:10:56 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-08 12:35:58 +0200
commit37dc05266eda14955fe866021c98546be45f2432 (patch)
tree0fed3776d9ab7f11286e5c1ee1f1f4c744f79f33 /PKGBUILD
downloadpkgbuilds-37dc05266eda14955fe866021c98546be45f2432.tar.xz
moonshine: Import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..4c81723
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+pkgname=moonshine
+pkgver=0.0.11
+pkgrel=1
+
+pkgdesc="A lightweight Lua VM for the browser"
+url="http://moonshinejs.org"
+arch=('any')
+license=('GPL3')
+
+depends=('lua' 'nodejs')
+
+source=(http://registry.npmjs.org/moonshine/-/moonshine-$pkgver.tgz)
+
+noextract=(moonshine-$pkgver.tgz)
+
+sha1sums=(ae822c99c67974e323c98607cc3caef0b2d5f6ad)
+
+package() {
+ npm install -g --prefix "$pkgdir"/usr moonshine-$pkgver.tgz
+}