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
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
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
alpine
aports
Commits
3bc921aa
Commit
3bc921aa
authored
7 years ago
by
Jakub Jirutka
Browse files
Options
Downloads
Patches
Plain Diff
main/lua-optarg: install minimal rock_manifest
parent
292be74e
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/lua-optarg/APKBUILD
+6
-1
6 additions, 1 deletion
main/lua-optarg/APKBUILD
with
6 additions
and
1 deletion
main/lua-optarg/APKBUILD
+
6
−
1
View file @
3bc921aa
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
lua-optarg
_rockname
=
optarg
pkgver
=
0.2
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Simple command line option parser for Lua"
url
=
"https://github.com/ncopa/lua-optarg"
arch
=
"noarch"
...
...
@@ -24,9 +25,13 @@ _package() {
pkgdesc
=
"
$pkgdesc
$lver
"
depends
=
"lua
$lver
"
install_if
=
"
$pkgname
=
$pkgver
-r
$pkgrel
lua
$lver
"
local
rockdir
=
"
$subpkgdir
/usr/lib/luarocks/rocks-
$lver
/
$_rockname
/
$pkgver
-1"
install
-Dm644
"
$builddir
"
/optarg.lua
\
"
$subpkgdir
"
/usr/share/lua/
$lver
/optarg.lua
mkdir
-p
"
$rockdir
"
echo
'rock_manifest = {}'
>
"
$rockdir
"
/rock_manifest
}
sha512sums
=
"347d958020a3fbd7a0ba553eccc3ba54f0732636e6a880bd254065ae9634b6a9397b0e4f48a720a0597672da62652ec6998c455f2719622ae6e9c06896e5c573 lua-optarg-0.2.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