From 9a841fe2af5204c11e54bdb00a8f46088b30de7d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 21 Dec 2019 01:00:56 +0000 Subject: system/l*: modernise, fix metadata, etc --- system/lua5.3/APKBUILD | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'system/lua5.3') diff --git a/system/lua5.3/APKBUILD b/system/lua5.3/APKBUILD index 9a90fc7c9..859a7a05b 100644 --- a/system/lua5.3/APKBUILD +++ b/system/lua5.3/APKBUILD @@ -4,11 +4,12 @@ _pkgname=lua pkgver=5.3.5 _luaver=${pkgname#lua} pkgrel=1 -pkgdesc="Light-weight programming language" +pkgdesc="Embeddable programming language" url="https://www.lua.org/" arch="all" license="MIT" ldpath="/usr/lib/$pkgname" +depends="" depends_dev="$pkgname" makedepends="libtool autoconf automake linenoise-dev" provides="lua" @@ -27,7 +28,6 @@ builddir="$srcdir/$_pkgname-$pkgver" prepare() { default_prepare - cd "$builddir" # disable readline sed -i '/#define LUA_USE_READLINE/d' src/luaconf.h @@ -44,8 +44,6 @@ prepare() { } build() { - cd "$builddir" - ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -61,22 +59,18 @@ build() { } check() { - cd "$builddir" make test } package() { - local i - cd "$builddir" - make V=${pkgver%.*} \ INSTALL_TOP="$pkgdir"/usr \ INSTALL_INC="$pkgdir"/usr/include/$pkgname \ INSTALL_LIB="$pkgdir"/usr/lib/$pkgname \ alpine_install - for i in "$pkgdir"/usr/lib/$pkgname/*.so.*; do - ln -s $pkgname/${i##*/} "$pkgdir"/usr/lib/${i##*/} + for $_solib in "$pkgdir"/usr/lib/$pkgname/*.so.*; do + ln -s $pkgname/${_solib##*/} "$pkgdir"/usr/lib/${_solib##*/} done install -D -m 644 doc/lua.1 "$pkgdir"/usr/share/man/man1/lua.1 -- cgit v1.2.3-60-g2f50