Commit 6c7e83f3 authored by Jakub Jirutka's avatar Jakub Jirutka

community/luasrcdiet: lua5.x-luasrcdiet should not depend on "lua"

parent 10e3634a
......@@ -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"
......
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