aports/testing/lua-fn/APKBUILD
Ziyao 2a471854a6
testing/lua-fn: new aport
https://github.com/ziyao233/fn
Functional programming library for Lua
2022-08-15 17:11:26 +02:00

24 lines
652 B
Text

# Contributor: Ziyao <tswuyin_st127@163.com>
# Maintainer: Ziyao <tswuyin_st127@163.com>
pkgname=lua-fn
pkgver=0.1.0
pkgrel=0
pkgdesc="Functional programming library for Lua"
url="https://github.com/ziyao233/fn"
arch="noarch"
license="MIT"
depends="lua5.4"
source="$pkgname-$pkgver.tar.gz::https://github.com/ziyao233/fn/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/fn-$pkgver"
check() {
lua5.4 test.lua
}
package() {
install -Dm644 fn.lua -t "$pkgdir"/usr/share/lua/5.4/
}
sha512sums="
bf5a5dfbdc51e7dd85b965a0393e6c68aad61414acc4047e5dabfcc819a7a6bea4cfb9dda03091b8b1df4225b02f48bd774b56b8f0f951202c0e88a7a78a25ad lua-fn-0.1.0.tar.gz
"