Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
1.2k
Issue boards
Milestones
Code
Merge requests
682
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
9c484652
Commit
9c484652
authored
1 year ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
main/lua-pty: fix source url
parent
cd4b1758
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
main/lua-pty/APKBUILD
+8
-5
8 additions, 5 deletions
main/lua-pty/APKBUILD
with
8 additions
and
5 deletions
main/lua-pty/APKBUILD
+
8
−
5
View file @
9c484652
...
...
@@ -3,13 +3,14 @@ pkgname=lua-pty
_pkgname
=
lpty
pkgver
=
1.2.2
_rockver
=
1
pkgrel
=
2
pkgrel
=
3
pkgdesc
=
"Lua module to control other programs via PTYs"
url
=
"https://www.tset.de/lpty/"
arch
=
"all"
license
=
"MIT"
source
=
"http://www.tset.de/downloads/
$_pkgname
-
$pkgver
-
$_rockver
.tar.gz"
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
-
$_rockver
"
source
=
$pkgname
-
$pkgver
.tar.gz::https://codeberg.org/gnarz/lpty/archive/version_
$pkgver
.tar.gz
builddir
=
"
$srcdir
/lpty"
_luaversions
=
"5.1 5.2 5.3 5.4"
for
_v
in
$_luaversions
;
do
...
...
@@ -29,7 +30,7 @@ build() {
local
lver
;
for
lver
in
$_luaversions
;
do
msg
"Building for Lua
$lver
..."
cd
"
$builddir
-
$lver
"
cd
"
$builddir
-
$lver
"
/src
make
CFLAGS
=
"
$CFLAGS
-fPIC"
\
LUA_INCDIR
=
"
$(
pkg-config
--variable
=
includedir lua
$lver
)
"
\
LUA_LIBDIR
=
"
$(
pkg-config
--variable
=
libdir lua
$lver
)
"
\
...
...
@@ -49,11 +50,13 @@ _subpackage() {
install_if
=
"
$pkgname
=
$pkgver
-r
$pkgrel
lua
$lver
"
[
"
$lver
"
=
5.1
]
&&
replaces
=
"
$pkgname
"
cd
"
$builddir
-
$lver
"
cd
"
$builddir
-
$lver
"
/src
make
INST_DIR
=
"
$subpkgdir
/usr"
LUAVERSION
=
$lver
install
mkdir
-p
"
$rockdir
"
echo
'rock_manifest = {}'
>
"
$rockdir
"
/rock_manifest
}
sha512sums
=
"6251f8394be53ab812bb3483fcd8280c9cf8d63590534864b439f5357a4c11507c3a7d6e03efa11018547435f7eede6ea5896a39f0d9ddaaf3f4f41f7827ba96 lpty-1.2.2-1.tar.gz"
sha512sums
=
"
25dda2fee2228fb323a201231eeb50fe375d25cc863f544666698e2d9359f29fd3745994f7fd4d06be4982ebb83d135d3db294158af848b077daadbfbb3391f6 lua-pty-1.2.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