diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-25 08:55:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-25 09:04:14 +0000 |
commit | 8c8c4ac14ccec5762e1bf1d9a19db8301f47e0bc (patch) | |
tree | 6a17467cb91785c1ce4c32ba56a2c1e7ee80af9c /testing/lua-ldoc | |
parent | 0a189d8bbe8e81f09e179ec8be1bff111eeb8684 (diff) | |
download | aports-8c8c4ac14ccec5762e1bf1d9a19db8301f47e0bc.tar.bz2 aports-8c8c4ac14ccec5762e1bf1d9a19db8301f47e0bc.tar.xz |
testing/ldoc: rename, upgrade to 1.3.13 and port to lua 5.2
This is an application and not a library so rename it to ldoc
Diffstat (limited to 'testing/lua-ldoc')
-rw-r--r-- | testing/lua-ldoc/APKBUILD | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/testing/lua-ldoc/APKBUILD b/testing/lua-ldoc/APKBUILD deleted file mode 100644 index 3aa4b63d2f..0000000000 --- a/testing/lua-ldoc/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=lua-ldoc -pkgver=1.0 -pkgrel=0 -pkgdesc="Documentation tool for Lua" -url="http://github.com/stevedonovan/LDoc" -arch="noarch" -license="MIT" -depends="lua-penlight" -makedepends="lua-dev" -install="" -subpackages= -source="http://stevedonovan.github.com/files/ldoc-$pkgver.zip" - -_luashare=/usr/share/lua/5.1 -_builddir="$srcdir"/LDoc -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - sed -i '1i \ -#!/usr/bin/env lua' ldoc.lua -} - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - install -Dm755 ldoc.lua "$pkgdir"/usr/bin/ldoc || return 1 - install -d "$pkgdir"/$_luashare || return 1 - cp -a ldoc "$pkgdir"/$_luashare/ -} - -md5sums="fcfb9afadd49c672f0cb553f490b2455 ldoc-1.0.zip" |