diff options
-rw-r--r-- | main/lua5.1/APKBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/main/lua5.1/APKBUILD b/main/lua5.1/APKBUILD index 4b3f401015..efeb9c9800 100644 --- a/main/lua5.1/APKBUILD +++ b/main/lua5.1/APKBUILD @@ -3,7 +3,7 @@ pkgname=lua5.1 _pkgname=lua pkgver=5.1.5 _luaver=${pkgname#lua} -pkgrel=5 +pkgrel=6 pkgdesc="A powerful light-weight programming language designed for extending applications." url="https://www.lua.org/" arch="all" @@ -12,6 +12,7 @@ depends_dev="$pkgname" makedepends="libtool autoconf automake" provides="lua" provider_priority=100 +replaces="lua" # for backward compatibility subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" source="https://www.lua.org/ftp/lua-$pkgver.tar.gz lua-5.1-make.patch @@ -87,18 +88,19 @@ package() { dev() { default_dev provides="lua-dev" - replaces="lua-dev" + replaces="lua-dev" # for backward compatibility } doc() { default_doc provides="lua-doc" + replaces="lua-doc" # for backward compatibility } libs() { pkgdesc="Lua dynamic library runtime" provides="lua-libs" - replaces="lua lua-libs" + replaces="lua lua-libs" # for backward compatibility mkdir -p "$subpkgdir"/usr mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ |