Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
814
Issues
814
List
Boards
Labels
Milestones
Merge Requests
54
Merge Requests
54
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
52832f78
Commit
52832f78
authored
Apr 04, 2015
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/lua-md5: add lua 5.3 support and use intall_if
parent
0df78669
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
main/lua-md5/APKBUILD
main/lua-md5/APKBUILD
+4
-5
No files found.
main/lua-md5/APKBUILD
View file @
52832f78
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_luaversions
=
"5.1 5.2"
_luaversions
=
"5.1 5.2
5.3
"
pkgname
=
"lua-md5"
_name
=
"md5"
pkgver
=
1.2
pkgrel
=
2
pkgrel
=
3
pkgdesc
=
"Basic cryptographic facilities for Lua"
url
=
"http
://www.keplerproject.org/md5/
"
url
=
"http
s://github.com/keplerproject/md5
"
arch
=
"all"
license
=
"MIT"
depends
=
""
makedepends
=
""
subpackages
=
""
for
_i
in
$_luaversions
;
do
depends
=
"
$depends
lua
$_i
-md5"
makedepends
=
"
$makedepends
lua
$_i
-dev"
subpackages
=
"
$subpackages
lua
$_i
-md5:split_
${
_i
/./_
}
"
done
...
...
@@ -48,7 +47,7 @@ package() {
_split
()
{
local
d
=
_ver
=
$1
pkgdesc
=
"Basic cryptographic facilities for Lua
$_ver
"
replaces
=
"
$pkgname
"
install_if
=
"lua
$_ver
$pkgname
=
$pkgver
-r
$pkgrel
"
depends
=
for
d
in
usr/lib/lua usr/share/lua
;
do
if
[
-d
"
$pkgdir
"
/
$d
/
$_ver
]
;
then
...
...
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