aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
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
+}