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
e25477f4
Commit
e25477f4
authored
1 year ago
by
alice
Browse files
Options
Downloads
Patches
Plain Diff
community/lua-lgi: add rock manifest
parent
fb386e75
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/lua-lgi/APKBUILD
+11
-11
11 additions, 11 deletions
community/lua-lgi/APKBUILD
with
11 additions
and
11 deletions
community/lua-lgi/APKBUILD
+
11
−
11
View file @
e25477f4
...
...
@@ -4,7 +4,7 @@ _luaversions="5.1 5.2 5.3"
pkgname
=
lua-lgi
_rockname
=
"
${
pkgname
#lua-*
}
"
pkgver
=
0.9.2
pkgrel
=
5
pkgrel
=
6
pkgdesc
=
"Dynamic Lua binding to GObject libraries using GObject-Introspection"
url
=
"https://github.com/lgi-devs/lgi"
arch
=
"all"
...
...
@@ -16,10 +16,9 @@ for _i in $_luaversions; do
subpackages
=
"
$subpackages
lua
$_i
-
$_rockname
:_split"
done
subpackages
=
"
$subpackages
$pkgname
-doc"
source
=
"lgi-
$pkgver
.tar.gz::https://github.com/lgi-devs/lgi/archive/
$pkgver
.tar.gz"
_sdir
=
"
$srcdir
"
/lgi-
$pkgver
prepare
()
{
default_prepare
...
...
@@ -40,6 +39,9 @@ package() {
for
_i
in
$_luaversions
;
do
cd
"
$srcdir
"
/build-
$_i
make
install
PREFIX
=
/usr
DESTDIR
=
"
$pkgdir
"
LUA_VERSION
=
$_i
local
rockdir
=
"
$pkgdir
"
/usr/lib/luarocks/rocks-
$_i
/lua-lgi/
$pkgver
-1
/
mkdir
-p
"
$rockdir
"
echo
'rock_manifest = {}'
>
"
$rockdir
"
/rock_manifest
done
cd
"
$_sdir
"
mkdir
-p
"
$pkgdir
"
/usr/share/doc/lua-lgi
...
...
@@ -53,13 +55,11 @@ _split() {
install_if
=
"lua
$_luaversion
$pkgname
=
$pkgver
-r
$pkgrel
"
depends
=
"
$depends
lua
$_luaversion
"
mkdir
-p
"
$subpkgdir
/usr/lib/lua/"
mv
"
$pkgdir
/usr/lib/lua/
$_luaversion
"
\
"
$subpkgdir
/usr/lib/lua/"
mkdir
-p
"
$subpkgdir
/usr/share/lua/"
mv
"
$pkgdir
/usr/share/lua/
$_luaversion
"
\
"
$subpkgdir
/usr/share/lua/"
amove usr/lib/lua/
$_luaversion
amove usr/lib/luarocks/rocks-
$_luaversion
amove usr/share/lua/
$_luaversion
}
sha512sums
=
"755a96b78530f42da6d4e2664f8e37cb07a356419e7e6448003c3f841c9d98ad18b851715d9eb203ea7eb27b13ec46223fa8a1c90a99fd12960ce85b0a695335 lgi-0.9.2.tar.gz"
sha512sums
=
"
755a96b78530f42da6d4e2664f8e37cb07a356419e7e6448003c3f841c9d98ad18b851715d9eb203ea7eb27b13ec46223fa8a1c90a99fd12960ce85b0a695335 lgi-0.9.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