Commit f82c5651 authored by Natanael Copa's avatar Natanael Copa

main/lua-bit32: fix upgrade from lua-bitlib

lua-bitlib was renamed to lua-bit32 in commit 69f2a224. Add replaces
and provides for backwards compatibility and a smoother upgrade.
parent 7149c919
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-bit32
pkgver=5.3.0
pkgrel=2
pkgrel=3
pkgdesc="A lua library providing bitwise operations"
url="https://github.com/keplerproject/lua-compat-5.2"
arch="all"
......@@ -36,6 +36,9 @@ _subpackage() {
pkgdesc="$pkgdesc (for Lua $lver)"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
replaces="lua$lver-bitlib"
# backwards compatibility
provides="lua$lver-bitlib=$pkgver-r$pkgrel"
cd "$builddir"
install -D -m 755 $lver/bit32.so \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment