aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/lua-xmlrpc/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/lua-xmlrpc/APKBUILD b/testing/lua-xmlrpc/APKBUILD
new file mode 100644
index 0000000000..e7e981e86c
--- /dev/null
+++ b/testing/lua-xmlrpc/APKBUILD
@@ -0,0 +1,38 @@
+# 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"