Commit 26a7a165 authored by Natanael Copa's avatar Natanael Copa

testing/lua-xmlrpc: new aport

Lua package to access and provide XML-RPC services
https://github.com/timn/lua-xmlrpc

ref #2267
parent cd06aa53
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_luaver=5.1
pkgname=lua-xmlrpc
_name=$pkgname
pkgver=1.2.1
pkgrel=0
pkgdesc="Lua package to access and provide XML-RPC services"
url="https://github.com/timn/lua-xmlrpc"
arch="noarch"
license="MIT"
depends="lua-expat lua-socket"
makedepends="lua-dev"
install=
source="lua-xmlrcp-$pkgver.tar.gz::https://github.com/timn/lua-xmlrpc/archive/v$pkgver.tar.gz"
_builddir="$srcdir/$_name-$pkgver"
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
return 0
}
package() {
cd "$_builddir"
make install LUA_DIR="$pkgdir"/usr/share/lua/$_luaver
}
md5sums="422b830ca5706bb109ed8a28b8e82a32 lua-xmlrcp-1.2.1.tar.gz"
sha256sums="0047e353ed4357d33479e923ddd8be3ec29edb9264f79dd2fd1993557ae4ad71 lua-xmlrcp-1.2.1.tar.gz"
sha512sums="27123ec0fe006ebe7dbb88ccdb2b2a028d592fcb97138ee2891e89e89c48563a06ec05ea543a6068eda1e71bbe7d82a1791fdf734ed08f3613d5d252fbb7d77f lua-xmlrcp-1.2.1.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment