Commit 29c76ea6 authored by Jakub Jirutka's avatar Jakub Jirutka

community/lua-fun: fix $provides

parent 57c0127a
......@@ -4,13 +4,14 @@ pkgname=lua-fun
_rockname=fun
_pkgname=luafun
pkgver=0.1.3
pkgrel=8
pkgrel=9
pkgdesc="Functional programming library"
url="https://rtsisyk.github.io/luafun/"
arch="noarch"
license="MIT"
depends="lua"
checkdepends=""
provides=""
source="$pkgname-$pkgver.tar.gz::https://github.com/rtsisyk/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
......@@ -23,7 +24,7 @@ esac
_luaversions="5.1 5.2 5.3"
for _v in $_luaversions; do
checkdepends="$checkdepends lua$_v"
provides="lua$_v-${pkgname#lua-}=$pkgver-r$pkgrel" # for backward compatibility
provides="$provides lua$_v-${pkgname#lua-}=$pkgver-r$pkgrel" # for backward compatibility
done
check() {
......
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