diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-09 15:19:55 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-09 15:20:44 +0100 |
commit | d93f19a766fba704d4ed3e3a6a210b521a679075 (patch) | |
tree | 37a551cfd8498d23290309d727274487f2f9a496 /main/lua-ldap | |
parent | e59090c79f58283a186295c52f1233cdbdda2e03 (diff) | |
download | aports-d93f19a766fba704d4ed3e3a6a210b521a679075.tar.bz2 aports-d93f19a766fba704d4ed3e3a6a210b521a679075.tar.xz |
main/lua-ldap: fix replaces for 5.1
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" \ |