mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* monero -> 0.18.4.6 in updater-monero-0.18.4.6 * updater-monero-0.18.4.6: Package File Update Run on linux/amd64 container. * updater-monero-0.18.4.6: Package File Update Run on linux/arm/v7 container. --------- Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com> Co-authored-by: Satadru Pramanik, DO, MPH, MEng <satadru@gmail.com>
36 lines
1.2 KiB
Ruby
36 lines
1.2 KiB
Ruby
require 'package'
|
|
|
|
class Monero < Package
|
|
description 'Private, decentralized cryptocurrency that keeps your finances confidential and secure.'
|
|
homepage 'https://www.getmonero.org/'
|
|
version '0.18.4.6'
|
|
license 'The Cryptonote developers,The Boolberry developers,MIT'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
min_glibc '2.27'
|
|
|
|
source_url({
|
|
aarch64: "https://downloads.getmonero.org/cli/monero-linux-armv7-v#{version}.tar.bz2",
|
|
armv7l: "https://downloads.getmonero.org/cli/monero-linux-armv7-v#{version}.tar.bz2",
|
|
x86_64: "https://downloads.getmonero.org/cli/monero-linux-x64-v#{version}.tar.bz2"
|
|
})
|
|
source_sha256({
|
|
aarch64: 'c4dbec17d1f25ef52f9a4832b8ba80b8818c8ed9adb786fa193ed38a019b1817',
|
|
armv7l: 'c4dbec17d1f25ef52f9a4832b8ba80b8818c8ed9adb786fa193ed38a019b1817',
|
|
x86_64: '60cfc32d39c6fe6c19b23513d02017fe9055d2e412ee4cbc30fa40ba811fe052'
|
|
})
|
|
|
|
no_compile_needed
|
|
no_shrink
|
|
|
|
def self.install
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/monero"
|
|
FileUtils.mv Dir['monero*'], "#{CREW_DEST_PREFIX}/bin"
|
|
FileUtils.mv 'LICENSE', "#{CREW_DEST_PREFIX}/share/monero"
|
|
end
|
|
|
|
def self.postinstall
|
|
ExitMessage.add "\nType 'monero-wallet-cli' to get started.\n"
|
|
end
|
|
end
|