Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
651
Issues
651
List
Boards
Labels
Service Desk
Milestones
Merge Requests
189
Merge Requests
189
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
5ce892c5
Commit
5ce892c5
authored
Apr 10, 2018
by
TBK
Committed by
Timo Teräs
Apr 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/lua-stdlib: upgrade to 41.2.1, modernize
parent
c8bd7764
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
16 deletions
+8
-16
main/lua-stdlib/APKBUILD
main/lua-stdlib/APKBUILD
+8
-16
No files found.
main/lua-stdlib/APKBUILD
View file @
5ce892c5
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_luaversions
=
"5.1 5.2 5.3"
pkgname
=
lua-stdlib
pkgver
=
41.2.
0
pkgver
=
41.2.
1
pkgrel
=
0
pkgdesc
=
"Lua library of modules for common programming tasks"
url
=
"https://github.com/lua-stdlib/lua-stdlib"
arch
=
"noarch"
license
=
"MIT/X"
depends
=
makedepends
=
"autoconf automake"
install
=
subpackages
=
"
$pkgname
-doc"
for
_v
in
$_luaversions
;
do
makedepends
=
"
$makedepends
lua
$_v
lua
$_v
-dev"
subpackages
=
"
$subpackages
lua
$_v
-stdlib:split_
${
_v
/./_
}
"
done
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/lua-stdlib/lua-stdlib/archive/release-v
$pkgver
.tar.gz"
_sdir
=
"
$srcdir
"
/lua-stdlib-release-v
$pkgver
prepare
()
{
...
...
@@ -27,9 +23,9 @@ prepare() {
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
aclocal
&&
autoconf
&&
automake
--add-missing
||
return
1
aclocal
&&
autoconf
&&
automake
--add-missing
for
_i
in
$_luaversions
;
do
cp
-r
"
$_sdir
"
"
$srcdir
"
/build-
$_i
||
return
1
cp
-r
"
$_sdir
"
"
$srcdir
"
/build-
$_i
done
}
...
...
@@ -40,9 +36,8 @@ build() {
LUA
=
lua
$_i
LUA_INCLUDE
=
$(
pkg-config lua
$_i
--cflags
)
\
./configure
--prefix
=
/usr
\
--libdir
=
/usr/lib/lua/
$_i
\
--datadir
=
/usr/share/lua/
$_i
\
||
return
1
make
||
return
1
--datadir
=
/usr/share/lua/
$_i
make
done
}
...
...
@@ -50,8 +45,7 @@ package() {
cd
"
$_builddir
"
for
_i
in
$_luaversions
;
do
cd
"
$srcdir
"
/build-
$_i
make
DESTDIR
=
"
$pkgdir
"
luadir
=
"/usr/share/lua/
$_i
"
install
\
||
return
1
make
DESTDIR
=
"
$pkgdir
"
luadir
=
"/usr/share/lua/
$_i
"
install
done
}
...
...
@@ -63,7 +57,7 @@ _split() {
for
d
in
usr/lib/lua usr/share/lua
;
do
if
[
-d
"
$pkgdir
"
/
$d
/
$_ver
]
;
then
mkdir
-p
"
$subpkgdir
"
/
$d
mv
"
$pkgdir
"
/
$d
/
$_ver
"
$subpkgdir
"
/
$d
/
||
return
1
mv
"
$pkgdir
"
/
$d
/
$_ver
"
$subpkgdir
"
/
$d
/
fi
done
}
...
...
@@ -74,6 +68,4 @@ for _v in $_luaversions; do
done
md5sums
=
"5d99d87b95ca64f1e079289fe9e486ff lua-stdlib-41.2.0.tar.gz"
sha256sums
=
"c9d9d11dcd2e3e956e697f5455b5f62baadf233d8726d80514d0432273cc27e9 lua-stdlib-41.2.0.tar.gz"
sha512sums
=
"27ee578d845b70d28e6cdeefc2d0f9163724d2ef4b5dff69820564d7ef2a3f06184b537c5796bd730653bd28cae28bffa29a28cb256f93914b9a43c50aceb8fe lua-stdlib-41.2.0.tar.gz"
sha512sums
=
"8b0dc34fbaee68f5a8e0d22c253b513faa782a679b1adb7d79418469623f6ff921249641c630d69d8bb1eee59dfd5c7f1b8d2b02a517c8e21f3632880f3540cd lua-stdlib-41.2.1.tar.gz"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment