diff options
author | Stephen Smith | 2019-01-26 15:05:25 -0500 |
---|---|---|
committer | Stephen Smith | 2019-01-26 15:05:25 -0500 |
commit | 8eae4ddd7b32b8526eb35237adc6a5f75d7e4f6f (patch) | |
tree | 29aef51db58235161116a26ff610a02df7df7e56 | |
download | aur-8eae4ddd7b32b8526eb35237adc6a5f75d7e4f6f.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2f3f720b0715 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Sat Jan 26 20:04:23 UTC 2019 +pkgbase = lua-wsapi-xavante + pkgdesc = WSAPI is an API that abstracts the web server from Lua web applications. This is the rock that contains the Xavante adapter and launcher. + pkgver = 1.7 + pkgrel = 1 + url = http://keplerproject.github.com/wsapi + arch = i686 + arch = x86_64 + license = MIT + makedepends = luarocks + depends = lua + depends = lua-wsapi + depends = lua-xavante + source = wsapi-xavante-1.7.tar.gz::https://github.com/keplerproject/wsapi/archive/v1.7.tar.gz + md5sums = aacadf9dabeb82b044cb3f1006c5df0d + +pkgname = lua-wsapi-xavante + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0a113c767a0f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Stephen Smith <stephen304@gmail.com> + +pkgname=lua-wsapi-xavante +_rockname=wsapi-xavante +_reponame=wsapi +pkgver=1.7 +pkgrel=1 +pkgdesc="WSAPI is an API that abstracts the web server from Lua web applications. This is the rock that contains the Xavante adapter and launcher." +arch=('i686' 'x86_64') +url="http://keplerproject.github.com/wsapi" +license=('MIT') +depends=('lua' 'lua-wsapi' 'lua-xavante') +makedepends=('luarocks') +conflicts=() +source=("${_rockname}-${pkgver}.tar.gz::https://github.com/keplerproject/${_reponame}/archive/v${pkgver}.tar.gz") +md5sums=('aacadf9dabeb82b044cb3f1006c5df0d') + +build() { + cd "$_reponame-$pkgver" + luarocks make --pack-binary-rock --deps-mode=none "rockspec/$_rockname-$pkgver-1.rockspec" +} + +package() { + luarocks install --tree="$pkgdir/usr/" --deps-mode=none "$_reponame-$pkgver"/*.rock + find "$pkgdir/usr" -name manifest -delete +} |