mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
22 lines
799 B
Plaintext
22 lines
799 B
Plaintext
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
|
|
pkgname=lua-resty-string
|
|
pkgver=0.11
|
|
pkgrel=2
|
|
pkgdesc="String functions for OpenResty"
|
|
url="https://github.com/openresty/lua-resty-string"
|
|
# riscv64 blocked by nginx-mod-http-lua
|
|
arch="noarch !riscv64"
|
|
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="f1357f5c93a1f0d32f358df2b162e3a2c605cc57ad4e72dd0fdb6a2409f678aa8100f4977d37c717121f629dafb59ab5786982e806f165974f514c34289d92da lua-resty-string-0.11.tar.gz"
|