mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
* Add unbuilt kupfer to updater-kupfer-v328
* crew: Fix crew build from @supechicken's 2c97d8b
Signed-off-by: Satadru Pramanik <satadru@gmail.com>
* Adjust kupfer deps
Signed-off-by: Satadru Pramanik <satadru@gmail.com>
* updater-kupfer-v328: Build Run on linux/amd64.
* updater-kupfer-v328: Package File Update Run on linux/amd64 container.
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
40 lines
1.0 KiB
Ruby
40 lines
1.0 KiB
Ruby
require 'package'
|
|
|
|
class Kupfer < Package
|
|
description 'a smart, quick launcher'
|
|
homepage 'https://kupferlauncher.github.io/'
|
|
version 'v328'
|
|
license 'GPL-3.0'
|
|
compatibility 'x86_64'
|
|
source_url 'https://github.com/kupferlauncher/kupfer.git'
|
|
git_hashtag version
|
|
binary_compression 'tar.zst'
|
|
|
|
depends_on 'desktop_file_utils'
|
|
depends_on 'shared_mime_info'
|
|
depends_on 'py3_dbus_python'
|
|
depends_on 'py3_pygobject' => :build
|
|
depends_on 'py3_pyxdg'
|
|
depends_on 'py3_docutils' => :build
|
|
depends_on 'python3' => :build
|
|
depends_on 'sommelier'
|
|
|
|
binary_sha256({
|
|
x86_64: '78b56a3946bdb3775c7408c9372a6d49a60418c673ec0ca5d246d6cd6ca38a04'
|
|
})
|
|
|
|
def self.build
|
|
system "./waf configure --prefix=#{CREW_PREFIX}"
|
|
system "./waf -j#{CREW_NPROC}"
|
|
end
|
|
|
|
def self.install
|
|
system './waf', "--destdir=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
|
|
def self.postinstall
|
|
system "update-desktop-database #{CREW_PREFIX}/share/applications"
|
|
system "update-mime-database #{CREW_PREFIX}/share/mime"
|
|
end
|
|
end
|