mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* Add unbuilt firefox to updater-firefox-147.0.2 * Adjust firefox deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust firefox deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Change all sommelier deps to => :logical deps Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix circular dependencies of docbook_xml and docbook_xml412. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Cleanup docbook circular deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix elogind, ffmpeg circular deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Cleanup more circular deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Mark packages from successful builds as automatically buildable. * updater-firefox-147.0.2: Package File Update Run on linux/386 container. * Add filelists and updated packages. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix gstreamer deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Handle missing dlist, update pipewire filelist Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add rsu_client filelist Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Suggested changes. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust elogind deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust docbook heredocs. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
31 lines
979 B
Ruby
31 lines
979 B
Ruby
require 'package'
|
|
|
|
class Upm < Package
|
|
description 'Universal Password Manager (UPM) allows you to store usernames, passwords, URLs and generic notes in an encrypted database protected by one master password.'
|
|
homepage 'https://upm.sourceforge.net/'
|
|
version '1.15.1'
|
|
license 'GPL-2'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://downloads.sourceforge.net/project/upm/upm-1.15.1/upm-1.15.1.tar.gz'
|
|
source_sha256 'c8ade41ec0fe6f387f6e44b941ce5f17a3c2e2d096b4be766bed29ee606ac078'
|
|
|
|
depends_on 'openjdk8'
|
|
depends_on 'sommelier' => :logical
|
|
|
|
def self.build
|
|
upm = <<~EOF
|
|
#!/bin/bash
|
|
cd #{CREW_PREFIX}/share/upm
|
|
./upm.sh "$@"
|
|
EOF
|
|
File.write('upm', upm)
|
|
end
|
|
|
|
def self.install
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/upm"
|
|
FileUtils.cp_r Dir['.'], "#{CREW_DEST_PREFIX}/share/upm"
|
|
FileUtils.install 'upm', "#{CREW_DEST_PREFIX}/bin/upm", mode: 0o755
|
|
end
|
|
end
|