aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-12-05 09:40:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-05 09:40:58 +0000
commit513b965ef7665b381891f684d6b54ce298c7646a (patch)
tree153fedac34d29a59a38c460d695d3f49ac6c77f4 /main
parentb4fb139ecd8b1f53a0daf3c8f3e5e82dc0c19409 (diff)
downloadaports-513b965ef7665b381891f684d6b54ce298c7646a.tar.bz2
aports-513b965ef7665b381891f684d6b54ce298c7646a.tar.xz
main/lua-penlight: do not generate API docs
To generate API docs we need ldoc which would introduce an circular dependency.
Diffstat (limited to 'main')
-rw-r--r--main/lua-penlight/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/main/lua-penlight/APKBUILD b/main/lua-penlight/APKBUILD
index 1a5eebe539..3241a5a003 100644
--- a/main/lua-penlight/APKBUILD
+++ b/main/lua-penlight/APKBUILD
@@ -1,13 +1,13 @@
# 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
}