mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-12 12:12:24 +01:00
Lua libraries for extended operations on tables, lists and strings http://penlight.luaforge.net/
35 lines
809 B
Plaintext
35 lines
809 B
Plaintext
# Contributor:
|
|
# Maintainer:
|
|
pkgname=lua-penlight
|
|
pkgver=0.7.2
|
|
pkgrel=0
|
|
pkgdesc="Lua libraries for extended operations on tables, lists and strings"
|
|
url="http://penlight.luaforge.net/"
|
|
license="GPL"
|
|
depends="lua-filesystem"
|
|
makedepends=
|
|
install=
|
|
subpackages="$pkgname-doc"
|
|
source="http://luaforge.net/frs/download.php/4091/pl.0.7.2.zip"
|
|
|
|
# append extra dependencies to -dev subpackage
|
|
# remove if not used.
|
|
# depends_dev="somepackage-dev"
|
|
|
|
_builddir="$srcdir"
|
|
|
|
build() {
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
mkdir -p "$pkgdir"/usr/share/lua/5.1/ \
|
|
"$pkgdir"/usr/share/doc/$pkgname
|
|
cp -r lua/pl "$pkgdir"/usr/share/lua/5.1/
|
|
cp -r docs/* "$pkgdir"/usr/share/doc/$pkgname/
|
|
cp -r examples/penlight "$pkgdir"/usr/share/doc/$pkgname/examples
|
|
}
|
|
|
|
md5sums="ef4eec0cb87ebf81886da0f2a4663d59 pl.0.7.2.zip"
|