From 6c7e83f3a76feba3e459fc9d5366c535fc1588b7 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Mon, 1 Jan 2018 11:01:54 +0100 Subject: community/luasrcdiet: lua5.x-luasrcdiet should not depend on "lua" --- community/luasrcdiet/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'community/luasrcdiet/APKBUILD') diff --git a/community/luasrcdiet/APKBUILD b/community/luasrcdiet/APKBUILD index 64f3131c89..0688a2dc38 100644 --- a/community/luasrcdiet/APKBUILD +++ b/community/luasrcdiet/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Jakub Jirutka 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" -- cgit v1.2.3