Commit 513b965e authored by Natanael Copa's avatar Natanael Copa

main/lua-penlight: do not generate API docs

To generate API docs we need ldoc which would introduce an circular
dependency.
parent b4fb139e
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-penlight
pkgver=1.3.1
pkgrel=0
pkgrel=1
pkgdesc="Lua libraries for extended operations on tables, lists and strings"
url="http://penlight.luaforge.net/"
arch="noarch"
license="GPL"
depends="lua-filesystem"
makedepends="ldoc"
makedepends=""
install=
subpackages="$pkgname-doc lua5.1-penlight:_51 lua5.2-penlight:_52"
source="penlight-$pkgver.tar.gz::https://github.com/stevedonovan/Penlight/archive/$pkgver.tar.gz"
......@@ -18,8 +18,6 @@ build() {
cd "$_builddir"
# fix permissions of scripts
chmod -x lua/pl/*.lua
# generate documentation
ldoc -c doc/config.ld .
}
package() {
......@@ -28,7 +26,6 @@ package() {
"$pkgdir"/usr/share/lua/5.2/ \
"$pkgdir"/usr/share/doc/$pkgname
cp -r lua/pl "$pkgdir"/usr/share/lua/5.2/ || return 1
cp -r doc/api "$pkgdir"/usr/share/doc/$pkgname/
cp -r examples "$pkgdir"/usr/share/doc/$pkgname/
ln -s ../5.2/pl "$pkgdir"/usr/share/lua/5.1/pl
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment