Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
aports
Commits
5f8abc6a
Commit
5f8abc6a
authored
Apr 06, 2015
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/lua-stringy: add lua 5.3 and use install_if
parent
8e017731
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
main/lua-stringy/APKBUILD
main/lua-stringy/APKBUILD
+5
-5
No files found.
main/lua-stringy/APKBUILD
View file @
5f8abc6a
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_luaversions
=
"5.1 5.2"
_luaversions
=
"5.1 5.2
5.3
"
pkgname
=
lua-stringy
pkgver
=
0.4
pkgrel
=
3
pkgrel
=
4
pkgdesc
=
"Lua string utility library"
url
=
"https://github.com/brentp/lua-projects/"
arch
=
"all"
...
...
@@ -16,7 +16,6 @@ subpackages=""
source
=
"lua-projects-
$pkgver
.tar.gz::https://github.com/brentp/lua-projects/archive/
$pkgver
.tar.gz"
for
_v
in
$_luaversions
;
do
depends
=
"
$depends
lua
$_v
-stringy"
makedepends
=
"
$makedepends
lua
$_v
-dev"
subpackages
=
"
$subpackages
lua
$_v
-stringy:split_
${
_v
/./_
}
"
done
...
...
@@ -54,8 +53,9 @@ package() {
}
_split
()
{
local
d
=
usr/lib/lua
replaces
=
"
$pkgname
"
local
d
=
usr/lib/lua
_ver
=
$1
pkgdesc
=
"
$pkgdesc
for Lua
$_ver
"
install_if
=
"lua
$_ver
$pkgname
=
$pkgver
-r
$pkgrel
"
depends
=
mkdir
-p
"
$subpkgdir
/
$d
"
||
return
1
mv
"
$pkgdir
/
$d
/
$1
"
"
$subpkgdir
/
$d
"
...
...
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