blob: 0a113c767a0f55aecbf93bea2d875c6af043ffe0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}
|