diff options
Diffstat (limited to 'main/ldoc/APKBUILD')
-rw-r--r-- | main/ldoc/APKBUILD | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/main/ldoc/APKBUILD b/main/ldoc/APKBUILD index ed74f40b605..9ba4cc187ca 100644 --- a/main/ldoc/APKBUILD +++ b/main/ldoc/APKBUILD @@ -1,34 +1,28 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ldoc -_pkgname=LDoc -pkgver=1.4.6 -pkgrel=2 +pkgver=1.5.0 +pkgrel=0 pkgdesc="Documentation tool for Lua" -url="https://github.com/stevedonovan/LDoc" +url="https://github.com/lunarmodules/LDoc" arch="noarch" license="MIT" -_luaver=5.3 -depends="lua-penlight lua$_luaver" # lua-penlight provides lua5.3-penlight -source="$_pkgname-$pkgver.tar.gz::https://github.com/stevedonovan/$_pkgname/archive/$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -prepare() { - default_prepare - cd "$builddir" - - sed -i "1s:.*:#!/usr/bin/lua$_luaver:" ldoc.lua - find . -type d | xargs chmod 755 -} +_luaver=5.4 +depends="lua-penlight lua$_luaver" # lua-penlight provides lua5.4-penlight +source="$pkgname-$pkgver.tar.gz::https://github.com/lunarmodules/LDoc/archive/v$pkgver.tar.gz + lua5.4.patch + " +options="!check" package() { local lmod_dir="$pkgdir/usr/share/lua/$_luaver" - cd "$builddir" - install -Dm755 ldoc.lua "$pkgdir"/usr/bin/ldoc install -d "$lmod_dir" cp -a ldoc "$lmod_dir"/ } -sha512sums="bcaddba4e462a4fb0aa0d8fcff390de3f195fa5cc569d8f05b84ad0fff900f5ac945be7a2eb15cf5ca60cc462f02c874579e4a19e33776178a04104ef9d944af LDoc-1.4.6.tar.gz" +sha512sums=" +5879c5a73546ca30240faf65803500754af37b8a51eb0baac0c0ee71870fbdb258011901e50c8e204906c8f705bab1ba2f94ce6fcc417920d4c8d92363f44e07 ldoc-1.5.0.tar.gz +c39db0dc643c40c0e98611057cd2d9fc01bf54a55608f8083ad704cce8adb2d86172bebe0867a6a0da425bce90f60468b0f6367afe9063b2f37d22f8f22adfc6 lua5.4.patch +" |