aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-01-01 11:01:54 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-01-01 11:01:54 +0100
commit6c7e83f3a76feba3e459fc9d5366c535fc1588b7 (patch)
tree14b259af783c0ad891cbd570781157a51376bb80
parent10e3634ab0692ee361c2429a029685eef11b6691 (diff)
downloadaports-6c7e83f3a76feba3e459fc9d5366c535fc1588b7.tar.gz
aports-6c7e83f3a76feba3e459fc9d5366c535fc1588b7.tar.bz2
aports-6c7e83f3a76feba3e459fc9d5366c535fc1588b7.tar.xz
community/luasrcdiet: lua5.x-luasrcdiet should not depend on "lua"
-rw-r--r--community/luasrcdiet/APKBUILD4
1 files changed, 2 insertions, 2 deletions
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 <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"