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
642
Issues
642
List
Boards
Labels
Service Desk
Milestones
Merge Requests
194
Merge Requests
194
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
24cebe87
Commit
24cebe87
authored
May 12, 2019
by
Leo
Committed by
Natanael Copa
May 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/lua-uuid: merge changes from testing package
parent
5385b198
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
73 deletions
+26
-73
main/lua-uuid/APKBUILD
main/lua-uuid/APKBUILD
+26
-30
testing/lua-uuid/APKBUILD
testing/lua-uuid/APKBUILD
+0
-43
No files found.
main/lua-uuid/APKBUILD
View file @
24cebe87
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
lua-uuid
pkgver
=
2012.05
_realname
=
uuid
pkgver
=
0.2.0
pkgrel
=
1
pkgdesc
=
"Lua library generating universally unique identifiers based on libuuid"
url
=
"http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luuid"
arch
=
"all"
license
=
"Public-Domain"
depends
=
makedepends
=
"lua-dev util-linux-dev"
install
=
subpackages
=
pkgdesc
=
"A pure Lua uuid generator (modified from a Rackspace module)"
url
=
"https://tieske.github.io/uuid/"
arch
=
"noarch"
license
=
"Apache-2.0"
options
=
"!check"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/Tieske/uuid/archive/version_
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/uuid-version_
$pkgver
"
_luaversions
=
"5.1 5.2 5.3"
for
_v
in
$_luaversions
;
do
makedepends
=
"
$makedepends
lua
$_v
-dev"
subpackages
=
"
$subpackages
lua
$_v
-
${
pkgname
#lua-
}
:_subpackage"
done
# seems like they just update the upstream source package. Version is found in
# luuid.c
# For date and checksum see:
# http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/release.txt
source
=
"https://dev.alpinelinux.org/archive/lua-uuid/luuid-
$pkgver
.tar.gz"
#source="http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.1/luuid.tar.gz"
_builddir
=
"
$srcdir
"
/uuid
prepare
()
{
cd
"
$_builddir
"
package
()
{
mkdir
-p
"
$pkgdir
"
}
build
()
{
cd
"
$_builddir
"
make so
||
return
1
}
_subpackage
()
{
local
lver
=
"
${
subpkgname
:3:3
}
"
pkgdesc
=
"
$pkgdesc
(for Lua
$lver
)"
depends
=
"lua
$lver
"
install_if
=
"
$pkgname
=
$pkgver
-r
$pkgrel
lua
$lver
"
package
()
{
cd
"
$_builddir
"
install
-Dm755
uuid.so
"
$pkgdir
"
/usr/lib/lua/5.1/uuid.so
install
-Dm644
"
$builddir
"
/src/uuid.lua
\
"
$subpkgdir
"
/usr/share/lua/
$lver
/uuid.lua
}
sha512sums
=
"
0530a291a1e249d55faba285d98ffdf163b5aedffdaf403477dd39440e1b95a598c4fc41adcff1f5f83f60cba3493b77cb73b7678db8213d68dfd2c894ed9733 luuid-2012.05
.tar.gz"
sha512sums
=
"
1117c76dbbabee6de01d1657339236810822040e20afd974dec302b9d2035ca087d33ef47029c6184203c3e694cc9282a303ce19eadffc71b0f48c6a4a5ef5b0 lua-uuid-0.2.0
.tar.gz"
testing/lua-uuid/APKBUILD
deleted
100644 → 0
View file @
5385b198
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname
=
lua-uuid
_realname
=
uuid
pkgver
=
0.2.0
pkgrel
=
1
pkgdesc
=
"A pure Lua uuid generator (modified from a Rackspace module)"
url
=
"https://tieske.github.io/uuid/"
arch
=
"noarch"
license
=
"Apache-2.0"
depends
=
""
makedepends
=
""
install
=
""
options
=
"!check"
subpackages
=
""
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/Tieske/uuid/archive/version_
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/uuid-version_
$pkgver
"
_luaversions
=
"5.1 5.2 5.3"
for
_v
in
$_luaversions
;
do
makedepends
=
"
$makedepends
lua
$_v
-dev"
subpackages
=
"
$subpackages
lua
$_v
-
${
pkgname
#lua-
}
:_subpackage"
done
build
()
{
return
0
}
package
()
{
mkdir
-p
"
$pkgdir
"
}
_subpackage
()
{
local
lver
=
"
${
subpkgname
:3:3
}
"
pkgdesc
=
"
$pkgdesc
(for Lua
$lver
)"
depends
=
"lua
$lver
"
install_if
=
"
$pkgname
=
$pkgver
-r
$pkgrel
lua
$lver
"
install
-Dm644
"
$builddir
"
/src/uuid.lua
\
"
$subpkgdir
"
/usr/share/lua/
$lver
/uuid.lua
}
sha512sums
=
"1117c76dbbabee6de01d1657339236810822040e20afd974dec302b9d2035ca087d33ef47029c6184203c3e694cc9282a303ce19eadffc71b0f48c6a4a5ef5b0 lua-uuid-0.2.0.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