aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua-resty-upload/APKBUILD
blob: e24539c957afc09bfd165910faedbcc2bfc00d91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Pegah Bahramiani <pb.bahramiani@gmail.com>
pkgname=lua-resty-upload
pkgver=0.10
pkgrel=0
pkgdesc="Streaming reader and parser for HTTP file uploading based on ngx_lua cosocket"
url="https://github.com/openresty/lua-resty-upload"
arch="all"
license="BSD-2-Clause"
depends="luajit"
source="https://github.com/openresty/lua-resty-upload/archive/v$pkgver/lua-resty-upload-$pkgver.tar.gz"
options="!check" # Test dependencies not available

package() {
	make install DESTDIR="$pkgdir" LUA_LIB_DIR="/usr/share/lua/5.1"

	echo 'rock_manifest = {}' > rock_manifest
	install -D -m 644 rock_manifest \
		"$pkgdir"/usr/lib/luarocks/rocks-5.1/$pkgname/$pkgver-1
}
sha512sums="5826780d79c6e5a3644e3d8985c4274c439df60815ae3d13d94ff66dd84328aae6786c9b5a76579ed8cfbabdef7d856e240a85a3af13c1cf03f793dff33ba068  lua-resty-upload-0.10.tar.gz"