mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
27 lines
926 B
Text
27 lines
926 B
Text
# Contributor: Alex Dowad <alexinbeijing@gmail.com>
|
|
# Maintainer: Alex Dowad <alexinbeijing@gmail.com>
|
|
pkgname=lua-resty-mail
|
|
pkgver=1.0.2
|
|
pkgrel=1
|
|
pkgdesc="High-level, easy to use, non-blocking email and SMTP library for OpenResty"
|
|
url="https://github.com/GUI/lua-resty-mail"
|
|
arch="noarch !riscv64" # lua-resty-core
|
|
license="MIT"
|
|
depends="lua-resty-core"
|
|
checkdepends="lua5.1 luacheck"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/GUI/lua-resty-mail/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
check() {
|
|
luacheck .
|
|
# Not currently running unit tests, since they require resty-cli, and we don't have
|
|
# resty-cli packaged for Alpine Linux yet
|
|
}
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir/usr/share/lua/common"
|
|
cp -r ./lib/resty "$pkgdir/usr/share/lua/common"
|
|
}
|
|
|
|
sha512sums="
|
|
67a93fb07a987241f33c1b63bafa77f22af66860a1f5a33b608fed2516089db6a0f0b8890f22c7e5377886efc8575b9c310667f3de2b1ef8b6bbd5043ccb5858 lua-resty-mail-1.0.2.tar.gz
|
|
"
|