From 2aa4e9856151a38abbb0e5b19f091b610cf1d53f Mon Sep 17 00:00:00 2001 From: huochenghai Date: Tue, 6 Jan 2026 18:38:36 +0800 Subject: [PATCH] 1st version --- .SRCINFO | 43 +++++++++++++++++++++++++++++++++++++++++++ .gitignore | 5 +++++ PKGBUILD | 25 +++++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3fcb1a7a2fe0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,43 @@ +pkgbase = alma-desktop-bin + pkgdesc = A beautiful desktop application that unifies your AI experience. Seamlessly switch between OpenAI, Anthropic, Google Gemini, and custom providers. + pkgver = 0.0.180 + pkgrel = 1 + url = https://alma.now + arch = x86_64 + license = LicenseRef-custom + makedepends = binutils + makedepends = tar + depends = libxcomposite + depends = nss + depends = libxdamage + depends = nodejs + depends = libxfixes + depends = libxext + depends = gcc-libs + depends = pango + depends = expat + depends = cairo + depends = vulkan-icd-loader + depends = nspr + depends = libxcb + depends = dbus + depends = glibc + depends = gtk3 + depends = libx11 + depends = bash + depends = at-spi2-core + depends = mesa + depends = alsa-lib + depends = glib2 + depends = libxrandr + depends = hicolor-icon-theme + depends = python + depends = libcups + depends = libxkbcommon + depends = systemd-libs + depends = java-runtime + provides = alma=0.0.180 + source = https://github.com/yetone/alma-releases/releases/download/v0.0.180/alma-0.0.180-linux-amd64.deb + sha256sums = 890d270a581f885ffab8083e4ad707cf85f35d300d4d9f6bd400ee0fdce71cd9 + +pkgname = alma-desktop-bin diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..39d841b89e5e --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +pkg +src +usr +*.deb +*.zst diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a5b98f93e188 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: huochenghai +pkgname="alma-desktop-bin" +pkgver="0.0.180" +pkgrel=1 +pkgdesc="A beautiful desktop application that unifies your AI experience. Seamlessly switch between OpenAI, Anthropic, Google Gemini, and custom providers." +arch=("x86_64") +url="https://alma.now" +_github_url="https://github.com/yetone/alma-releases" +makedepends=("binutils" "tar") +depends=(libxcomposite nss libxdamage nodejs libxfixes libxext gcc-libs pango expat cairo vulkan-icd-loader nspr libxcb dbus glibc gtk3 libx11 bash at-spi2-core mesa alsa-lib glib2 libxrandr hicolor-icon-theme python libcups libxkbcommon systemd-libs java-runtime) +provides=("alma=${pkgver}") +conflicts=() +license=("LicenseRef-custom") +source=("${_github_url}/releases/download/v${pkgver}/alma-${pkgver}-linux-amd64.deb") +sha256sums=('890d270a581f885ffab8083e4ad707cf85f35d300d4d9f6bd400ee0fdce71cd9') + +prepare() { + ar p alma-${pkgver}-linux-amd64.deb data.tar.xz | tar --zstd -x +} + +package() { + cd $srcdir + cp -R usr ${pkgdir} + cp -R opt ${pkgdir} +}