diff options
Diffstat (limited to 'main/lua-ldap')
-rw-r--r-- | main/lua-ldap/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/lua-ldap/APKBUILD b/main/lua-ldap/APKBUILD index d85d87eeb7..6c387ef921 100644 --- a/main/lua-ldap/APKBUILD +++ b/main/lua-ldap/APKBUILD @@ -4,7 +4,7 @@ pkgname=lua-ldap _pkgname=lualdap pkgver=1.2.3 -pkgrel=0 +pkgrel=1 pkgdesc="Lua binding to LDAP" url="https://github.com/bdellegrazie/lualdap" arch="all" @@ -18,7 +18,7 @@ builddir="$srcdir/$_pkgname-$pkgver" _luaversions="5.1 5.2 5.3" for _v in $_luaversions; do makedepends="$makedepends lua$_v-dev" - subpackages="$subpackages lua$_v-$_pkgname:_package" + subpackages="$subpackages lua$_v-${pkgname#lua-}:_package" done prepare() { @@ -50,6 +50,7 @@ _package() { local lver="${subpkgname:3:3}" pkgdesc="$pkgdesc (for Lua $lver)" depends="lua$lver" + replaces="lua$lver-lualdap" # for backward compatibility (v3.5) install_if="$pkgname=$pkgver-r$pkgrel lua$lver" [ "$lver" = "5.1" ] && replaces="$pkgname" |