diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-01-02 15:31:27 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-01-02 15:32:19 +0100 |
commit | de00305709cc9c7b5db5e6b64750cd84c3b96f99 (patch) | |
tree | 8e4ddb82f817d029cc1343d2c581c97fdcd7fc65 /main/lua5.1 | |
parent | b5ffa723e1c742ecb99283db034d041f95279d58 (diff) | |
download | aports-de00305709cc9c7b5db5e6b64750cd84c3b96f99.tar.bz2 aports-de00305709cc9c7b5db5e6b64750cd84c3b96f99.tar.xz |
main/lua5.1: set replaces=lua and replaces=lua-doc
Diffstat (limited to 'main/lua5.1')
-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/ |