Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
71f495c5
Commit
71f495c5
authored
May 06, 2021
by
Ed Reel
Committed by
GitHub
May 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add crossmobile package (#5732)
parent
2d3712a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
packages/crossmobile.rb
packages/crossmobile.rb
+39
-0
No files found.
packages/crossmobile.rb
0 → 100644
View file @
71f495c5
require
'package'
class
Crossmobile
<
Package
description
'CrossMobile is a software tool to develop truly native multi-platform cross mobile applications for iOS, Android, Windows Mobile and Desktop'
homepage
'https://crossmobile.org/'
version
'3.4.0'
license
'LGPL-3.0'
compatibility
'x86_64'
source_url
'https://github.com/crossmob/CrossMobile/releases/download/v3.4.0/CrossMobile-3.4.0.x86_64.appimage'
source_sha256
'295f65a8ef3d115061749370ec0a9eb68424e9b96d208acd91aa18818e3fa134'
binary_url
({
})
binary_sha256
({
})
depends_on
'jdk8'
depends_on
'sommelier'
def
self
.
build
cross
=
<<~
EOF
#!/bin/bash
cd
#{
CREW_PREFIX
}
/share/crossmobile
./AppRun "$@"
EOF
IO
.
write
(
'crossmobile.sh'
,
cross
)
end
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/crossmobile"
FileUtils
.
install
'crossmobile.sh'
,
"
#{
CREW_DEST_PREFIX
}
/bin/crossmobile"
,
mode:
0755
FileUtils
.
mv
Dir
.
glob
(
'*'
),
"
#{
CREW_DEST_PREFIX
}
/share/crossmobile"
end
def
self
.
postinstall
puts
"
\n
Type 'crossmobile' to get started.
\n
"
.
lightblue
end
end
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