diff options
-rw-r--r-- | main/lua-stringy/APKBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/lua-stringy/APKBUILD b/main/lua-stringy/APKBUILD index 81910ec6c4..0deabe3aad 100644 --- a/main/lua-stringy/APKBUILD +++ b/main/lua-stringy/APKBUILD @@ -1,10 +1,10 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -_luaversions="5.1 5.2" +_luaversions="5.1 5.2 5.3" pkgname=lua-stringy pkgver=0.4 -pkgrel=3 +pkgrel=4 pkgdesc="Lua string utility library" url="https://github.com/brentp/lua-projects/" arch="all" @@ -16,7 +16,6 @@ subpackages="" source="lua-projects-$pkgver.tar.gz::https://github.com/brentp/lua-projects/archive/$pkgver.tar.gz" for _v in $_luaversions; do - depends="$depends lua$_v-stringy" makedepends="$makedepends lua$_v-dev" subpackages="$subpackages lua$_v-stringy:split_${_v/./_}" done @@ -54,8 +53,9 @@ package() { } _split() { - local d=usr/lib/lua - replaces="$pkgname" + local d=usr/lib/lua _ver=$1 + pkgdesc="$pkgdesc for Lua $_ver" + install_if="lua$_ver $pkgname=$pkgver-r$pkgrel" depends= mkdir -p "$subpkgdir/$d" || return 1 mv "$pkgdir/$d/$1" "$subpkgdir/$d" |