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
2d3712a6
Commit
2d3712a6
authored
May 06, 2021
by
Ed Reel
Committed by
GitHub
May 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add keepassxc package (#5731)
parent
86d34dd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
packages/keepassxc.rb
packages/keepassxc.rb
+38
-0
No files found.
packages/keepassxc.rb
0 → 100644
View file @
2d3712a6
require
'package'
class
Keepassxc
<
Package
description
'KeePass Cross-Platform Community Edition, the free, open source, light-weight and easy-to-use password manager.'
homepage
'https://keepassxc.org/'
version
'2.6.4'
license
'GPL-2 or GPL-3'
compatibility
'x86_64'
source_url
'https://github.com/keepassxreboot/keepassxc/releases/download/2.6.4/KeePassXC-2.6.4-x86_64.AppImage'
source_sha256
'5f9657440eb0740ad65e7fc3c80524247a863315528705b8fb79df6755329483'
binary_url
({
})
binary_sha256
({
})
depends_on
'sommelier'
def
self
.
build
keepass
=
<<~
EOF
#!/bin/bash
cd
#{
CREW_PREFIX
}
/share/keepassxc
./AppRun "$@"
EOF
IO
.
write
(
'keepassxc.sh'
,
keepass
)
end
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/keepassxc"
FileUtils
.
install
'keepassxc.sh'
,
"
#{
CREW_DEST_PREFIX
}
/bin/keepassxc"
,
mode:
0755
FileUtils
.
mv
Dir
.
glob
(
'*'
),
"
#{
CREW_DEST_PREFIX
}
/share/keepassxc"
end
def
self
.
postinstall
puts
"
\n
Type 'keepassxc' 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