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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
TBK
aports
Commits
e0faf363
Commit
e0faf363
authored
9 years ago
by
Carlo Landmeter
Browse files
Options
Downloads
Patches
Plain Diff
testing/lua-date: new aport
parent
31909812
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/lua-date/APKBUILD
+56
-0
56 additions, 0 deletions
testing/lua-date/APKBUILD
with
56 additions
and
0 deletions
testing/lua-date/APKBUILD
0 → 100644
+
56
−
0
View file @
e0faf363
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname
=
lua-date
pkgver
=
2.1.1
_luaversions
=
"5.1 5.2 5.3"
pkgrel
=
0
pkgdesc
=
"Date & Time module for Lua"
url
=
"http://tieske.github.io/date/"
arch
=
"noarch"
license
=
"MIT"
depends
=
""
depends_dev
=
""
makedepends
=
"
$depends_dev
"
install
=
""
subpackages
=
""
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/Tieske/date/archive/version_
$pkgver
.tar.gz"
for
_v
in
$_luaversions
;
do
subpackages
=
"
$subpackages
lua
$_v
-date:split_
${
_v
/./_
}
"
done
_builddir
=
"
$srcdir
"
/date-version_
$pkgver
prepare
()
{
local
i
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
}
build
()
{
cd
"
$_builddir
"
}
package
()
{
mkdir
-p
"
$pkgdir
"
}
_split
()
{
cd
"
$_builddir
"
local
_ver
=
"
$1
"
pkgdesc
=
"Date & Time module for Lua
$_ver
"
install_if
=
"lua
$_ver
$pkgname
=
$pkgver
-r
$pkgrel
"
install
-Dm644
date.lua
\
"
$subpkgdir
"
/usr/share/lua/
$_ver
/date.lua
||
return
1
}
for
_v
in
$_luaversions
;
do
eval
"split_
${
_v
/./_
}
() { _split
$_v
; }"
done
md5sums
=
"fbf98dc124b6c2e6600ae8b43a0752f7 lua-date-2.1.1.tar.gz"
sha256sums
=
"4a27cc920f884b86b90b4c93fd06647743214fedfd27b801dcf597a954eafae5 lua-date-2.1.1.tar.gz"
sha512sums
=
"aa7726edcebd500a99267b7f380579940c774d4bfcb85de55ad0d31072a7b7e84232b3e30fc1b04f2b0bd03be646a70ce1d86ef746766e23e441ce97932fbc1e lua-date-2.1.1.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