Files
omarchy-pkgs/pkgbuilds/rawmakase-bin/PKGBUILD
T
David Heinemeier HanssonandClaude Opus 5.5 7fa74a3369 Add rawmakase-bin 0.2.2, following upstream GitHub releases (#890)
RAWmakase is a Lightroom-compatible RAW photo editor. Upstream publishes
self-contained Linux tarballs for x86_64 and aarch64 (LibRaw, lcms2,
libjpeg and ONNX Runtime bundled under /usr/lib/rawmakase) with a
SHA256SUMS manifest, so the package re-wraps that usr/ tree and
sync-upstream follows releases declaratively with a 24h quarantine.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 12:47:04 +00:00

36 lines
1.7 KiB
Bash

# Maintainer: pch <https://github.com/pch>
pkgname=rawmakase-bin
pkgver=0.2.2
pkgrel=1
pkgdesc="Fast, Lightroom-compatible RAW photo editor (binary release)"
arch=(x86_64 aarch64)
url="https://github.com/pch/rawmakase"
license=(MIT)
# LibRaw, lcms2, libjpeg and ONNX Runtime are bundled under /usr/lib/rawmakase
# and found through the binary's $ORIGIN runpath. The windowing, input and GPU
# libraries are dlopen'd, so this list follows upstream's own Arch recipe
# rather than the ELF NEEDED entries.
depends=(dbus gcc-libs glibc hicolor-icon-theme libglvnd libx11 libxcb
libxcursor libxi libxkbcommon libxkbcommon-x11 libxrandr
vulkan-icd-loader wayland zlib)
# A Vulkan ICD is needed to draw, but as a hard dependency makepkg -s would
# resolve it to nvidia-utils in the build container; Omarchy installs the right
# driver per machine.
optdepends=('vulkan-driver: GPU rendering'
'xdg-desktop-portal: native file dialogs')
provides=(rawmakase)
conflicts=(rawmakase)
options=(!strip !debug)
source_x86_64=("$url/releases/download/v$pkgver/rawmakase-$pkgver-x86_64-linux.tar.gz")
source_aarch64=("$url/releases/download/v$pkgver/rawmakase-$pkgver-aarch64-linux.tar.gz")
sha256sums_x86_64=('a3fb1129fb80b9a4dfe8093b35ccfd5bf08edde50a5aaa8f1a7562efe2d29d54')
sha256sums_aarch64=('2ff210994432eacce47f0d7f1270be736a31199dfd39a0717122b17534a8fdf1')
package() {
# The release tarball is a ready usr/ tree: a launcher script in /usr/bin,
# the binary and its bundled libraries in /usr/lib/rawmakase, plus the
# desktop entry, icon and licences.
cp -a "$srcdir/usr" "$pkgdir/"
mv "$pkgdir/usr/share/licenses/rawmakase" "$pkgdir/usr/share/licenses/$pkgname"
}