mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
main/lua-bit32: fix upgrade from lua-bitlib
lua-bitlib was renamed to lua-bit32 in commit 69f2a224e313. Add replaces and provides for backwards compatibility and a smoother upgrade.
This commit is contained in:
parent
7149c919df
commit
f82c56514f
@ -1,7 +1,7 @@
|
||||
# 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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user