diff options
Diffstat (limited to 'main/lua-ldap')
-rw-r--r-- | main/lua-ldap/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/lua-ldap/APKBUILD b/main/lua-ldap/APKBUILD index 6c387ef921..57b50e820e 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=1 +pkgrel=2 pkgdesc="Lua binding to LDAP" url="https://github.com/bdellegrazie/lualdap" arch="all" @@ -50,9 +50,9 @@ _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" + replaces="lua$lver-lualdap" # for backward compatibility (v3.5) + [ "$lver" = "5.1" ] && replaces="${replaces:-} $pkgname" # for backward compatibility (<v3.4) cd "$builddir-$lver" make DESTDIR="$subpkgdir" \ |