aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian <sebastian@sebsite.pw>2022-01-03 22:37:53 -0500
committerdispatch <dispatch@listserv.local>2022-01-04 03:49:04 +0000
commit5c21e49dc2502dae1baeed75c55be76e8809a514 (patch)
tree1c9c4bd148628c33600061eeb0233fe790490030
parent970b1095504454f2c9defc8e704555f47dc25a6a (diff)
downloadaports-patches/3858.tar.gz
aports-patches/3858.tar.bz2
aports-patches/3858.tar.xz
main/lua5.1: add HTML documentationpatches/3858
Signed-off-by: Sebastian <sebastian@sebsite.pw>
-rw-r--r--main/lua5.1/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/lua5.1/APKBUILD b/main/lua5.1/APKBUILD
index 4c121f246a..cb6ff557cc 100644
--- a/main/lua5.1/APKBUILD
+++ b/main/lua5.1/APKBUILD
@@ -82,6 +82,10 @@ package() {
install -D -m 644 doc/lua.1 "$pkgdir"/usr/share/man/man1/lua$_luaver.1
install -D -m 644 doc/luac.1 "$pkgdir"/usr/share/man/man1/luac$_luaver.1
+ mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
+ install -m644 doc/*.html doc/*.css doc/logo.gif doc/cover.png \
+ "$pkgdir"/usr/share/doc/$pkgname/
+
# Create symlinks without version suffix.
ln -s lua$_luaver "$pkgdir"/usr/bin/lua
ln -s luac$_luaver "$pkgdir"/usr/bin/luac