mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
community/luasrcdiet: lua5.x-luasrcdiet should not depend on "lua"
This commit is contained in:
parent
10e3634ab0
commit
6c7e83f3a7
@ -2,7 +2,7 @@
|
||||
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
||||
pkgname=luasrcdiet
|
||||
pkgver=1.0.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Compresses Lua source code by removing unnecessary characters"
|
||||
url="https://github.com/jirutka/luasrcdiet"
|
||||
arch="noarch"
|
||||
@ -26,7 +26,7 @@ package() {
|
||||
_subpackage() {
|
||||
local lver="${subpkgname:3:3}"
|
||||
pkgdesc="$pkgdesc (for Lua $lver)"
|
||||
depends="lua$lver ${depends//lua-/lua$lver-}"
|
||||
depends="lua$lver"
|
||||
replaces="lua$lver-srcdiet" # for backward compatibility
|
||||
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
|
||||
local lmod_dir="$subpkgdir/usr/share/lua/$lver"
|
||||
|
Loading…
Reference in New Issue
Block a user