Skip to content
Snippets Groups Projects
Commit 135486c7 authored by Will Sinatra's avatar Will Sinatra Committed by Patrycja Rosa
Browse files

community/lua-lume: correct install path

parent d33009e5
No related branches found
No related tags found
1 merge request!50342community/lua-lume: correct install path
Pipeline #175913 skipped
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
pkgname=lua-lume pkgname=lua-lume
_pkgname=lume _pkgname=lume
pkgver=2.3.0 pkgver=2.3.0
pkgrel=0 pkgrel=1
pkgdesc="Lua functions geared towards gamedev" pkgdesc="Lua functions geared towards gamedev"
url="https://github.com/rxi/lume" url="https://github.com/rxi/lume"
arch="noarch" arch="noarch"
...@@ -24,9 +24,9 @@ package() { ...@@ -24,9 +24,9 @@ package() {
_subpackage() { _subpackage() {
local lver="${subpkgname:3:3}" local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc (for Lua $lver)" pkgdesc="$pkgdesc (for Lua $lver)"
depends="lua$lver lua$lver-say" depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver" install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
local destdir="$subpkgdir/usr/share/lua/$lver/$_pkgname" local destdir="$subpkgdir/usr/share/lua/$lver"
local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1" local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
cd "$builddir" cd "$builddir"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment