summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsystem2015-08-19 11:30:52 +0200
committersystem2015-08-19 11:30:52 +0200
commit47c10f0e546f99751dc8659ec91a9062e857c7e9 (patch)
tree7a5493af429806d069f6cb593077752a607ec39d
downloadaur-47c10f0e546f99751dc8659ec91a9062e857c7e9.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD34
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c1a8e5cf93b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = openresty_luarocks
+ pkgdesc = Deployment and management system for Openresty Luajit 2.1 modules
+ pkgver = 2.2.2
+ pkgrel = 1
+ url = http://luarocks.org/
+ arch = any
+ license = custom
+ depends = openresty
+ depends = zip
+ depends = unzip
+ depends = curl
+ optdepends = cvs: for fetching sources from CVS repositories
+ optdepends = git: for fetching sources from git repositories
+ optdepends = mercurial: for fetching sources from mercurial repositories
+ optdepends = cmake: for building rocks that use the cmake build system
+ options = !makeflags
+ source = http://keplerproject.github.io/luarocks/releases/luarocks-2.2.2.tar.gz
+ sha256sums = 4f0427706873f30d898aeb1dfb6001b8a3478e46a5249d015c061fe675a1f022
+
+pkgname = openresty_luarocks
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a4f4cf5f2d4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: system <nymously.ano@gmail.com>
+pkgname=openresty_luarocks
+_pkgname=luarocks
+pkgver=2.2.2
+pkgrel=1
+pkgdesc="Deployment and management system for Openresty Luajit 2.1 modules"
+arch=('any')
+url="http://luarocks.org/"
+license=('custom')
+depends=('openresty' 'zip' 'unzip' 'curl')
+install=
+options=('!makeflags')
+source=(http://keplerproject.github.io/luarocks/releases/luarocks-$pkgver.tar.gz)
+noextract=()
+sha256sums=( '4f0427706873f30d898aeb1dfb6001b8a3478e46a5249d015c061fe675a1f022')
+optdepends=('cvs: for fetching sources from CVS repositories'
+ 'git: for fetching sources from git repositories'
+ 'mercurial: for fetching sources from mercurial repositories'
+ 'cmake: for building rocks that use the cmake build system')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ ./configure --prefix=/opt/openresty/luajit \
+ --with-lua=/opt/openresty/luajit/ \
+ --lua-suffix=jit-2.1.0-alpha \
+ --with-lua-include=/opt/openresty/luajit/include/luajit-2.1
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+# vim:set ts=2 sw=2 et: