aports/community/lua-resty-string/APKBUILD
2025-03-17 11:43:37 +00:00

23 lines
820 B
Text

# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=lua-resty-string
pkgver=0.15
pkgrel=0
pkgdesc="String functions for OpenResty"
url="https://github.com/openresty/lua-resty-string"
# riscv64, ppc64le: blocked by nginx-mod-http-lua
arch="noarch !riscv64 !ppc64le"
license="BSD-2-Clause"
depends="nginx-mod-http-lua"
checkdepends="perl-utils perl-test-nginx"
source="$pkgname-$pkgver.tar.gz::https://github.com/openresty/$pkgname/archive/v$pkgver.tar.gz"
options="!check"
package() {
mkdir -p "$pkgdir"/usr/share/lua/common
make DESTDIR="$pkgdir" LUA_LIB_DIR="/usr/share/lua/common" install
}
sha512sums="
2117ed00222f199a538dff3f9c46684e3e6d804f4c86196b0b2b148bfe4b8c94e4711b8747ceedfaf5b6b761eaa22c148883843933885b8b3883b67deff8f0a1 lua-resty-string-0.15.tar.gz
"