Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
97fc9ac4
Commit
97fc9ac4
authored
1 year ago
by
alice
Browse files
Options
Downloads
Patches
Plain Diff
community/lua-fun: check luajit on supported arches only
parent
45fa2ae6
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/lua-fun/APKBUILD
+10
-3
10 additions, 3 deletions
community/lua-fun/APKBUILD
with
10 additions
and
3 deletions
community/lua-fun/APKBUILD
+
10
−
3
View file @
97fc9ac4
...
...
@@ -4,7 +4,7 @@ pkgname=lua-fun
_rockname
=
fun
_pkgname
=
luafun
pkgver
=
0.1.3
pkgrel
=
1
0
pkgrel
=
1
1
pkgdesc
=
"Functional programming library"
url
=
"https://rtsisyk.github.io/luafun/"
arch
=
"noarch"
...
...
@@ -14,6 +14,11 @@ checkdepends="luajit"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/rtsisyk/
$_pkgname
/archive/
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
"
case
"
$CARCH
"
in
ppc64le|riscv64
)
_luajit
=
""
;;
*
)
checkdepends
=
"
$checkdepends
luajit"
;
_luajit
=
"jit"
;;
esac
_luaversions
=
"5.1 5.2 5.3 5.4"
for
_v
in
$_luaversions
;
do
checkdepends
=
"
$checkdepends
lua
$_v
"
...
...
@@ -21,7 +26,7 @@ for _v in $_luaversions; do
done
check
()
{
local
lver
;
for
lver
in
$_luaversions
jit
;
do
local
lver
;
for
lver
in
$_luaversions
$_lua
jit
;
do
msg
"Testing on Lua
$lver
"
lua
$lver
tests/runtest tests/
*
.lua
done
...
...
@@ -35,4 +40,6 @@ package() {
"
$pkgdir
"
/usr/lib/luarocks/rocks-common/
$_rockname
/
$pkgver
-1
}
sha512sums
=
"1959c22453a6f431e4f4ee1ca1e6001c126f8857e00b128e5303049fd574150a68b71490503356f11fefcbd0ef7fbac7b0ae7c182a395ad0c92d2047dfac0662 lua-fun-0.1.3.tar.gz"
sha512sums
=
"
1959c22453a6f431e4f4ee1ca1e6001c126f8857e00b128e5303049fd574150a68b71490503356f11fefcbd0ef7fbac7b0ae7c182a395ad0c92d2047dfac0662 lua-fun-0.1.3.tar.gz
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment