Files
chromebrew/packages/appflowy.rb
chromebrew-actions[bot] 554654ddb1 updater-appflowy-0.9.7 — appflowy → 0.9.7 (#12611)
* Add unbuilt appflowy to updater-appflowy-0.9.7

* updater-appflowy-0.9.7: Build Run on linux/amd64.

---------

Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
2025-08-22 04:07:39 +00:00

33 lines
1.0 KiB
Ruby

require 'package'
class Appflowy < Package
description 'AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.'
homepage 'https://www.appflowy.io/'
version '0.9.7'
license 'AGPL-3.0'
compatibility 'x86_64'
min_glibc '2.28'
source_url "https://github.com/AppFlowy-IO/AppFlowy/releases/download/#{version}/AppFlowy-#{version}-linux-x86_64.tar.gz"
source_sha256 '784d2071b2b215f7fdf28f04eb9291b22e6d3440a398bf61de78712de06f4fd9'
depends_on 'gtk3'
depends_on 'gobject_introspection'
depends_on 'gnome_common'
depends_on 'keybinder'
depends_on 'libnotify'
no_compile_needed
no_shrink
def self.install
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/AppFlowy"
FileUtils.mv Dir['*'], "#{CREW_DEST_PREFIX}/share/AppFlowy"
FileUtils.ln_s "#{CREW_PREFIX}/share/AppFlowy/AppFlowy", "#{CREW_DEST_PREFIX}/bin/appflowy"
end
def self.postinstall
ExitMessage.add "\nType 'appflowy' to get started.\n"
end
end