Arch and its Derivatives PKGBUILD

Here’s a PKGBUILD for Arch and its derivatives eg Manjaro

pkgname=atuin-desktop-bin
pkgver= <Downloaded rpm version>
pkgrel=1
pkgdesc="Atuin Desktop: Runbooks that Run. A local-first, executable runbook editor for real terminal workflows"
arch=('x86_64')

url="https://blog.atuin.sh/atuin-desktop-runbooks-that-run/" 

depends=('cairo' 'dbus' 'desktop-file-utils' 'fontconfig' 'gdk-pixbuf2' 'glib2' 'gtk2' 'gtk3' 'hicolor-icon-theme' 'libappindicator-gtk3' 'libsoup3' 'pango' 'webkit2gtk-4.1' 'zlib')

source=("https://example.com/rpm_x86_64") 

sha256sums=('SKIP')

package() {
  find "$srcdir/" -mindepth 1 -maxdepth 1 -type d | xargs cp -r -t "$pkgdir"
}

1.Enter the URLs and version manually
2. Save the PKGBUILD in the same directory as the downloaded rpm
3. Execute makepkg -si to package and install or just makepkg -s to just package.

Caveat:-

  1. Still a WIP
  2. Will automate better with download links.

Known Issues:-
1.

2 Likes

Thank you for sharing!

I am using a slightly different PKGBUILD, here is my version:

This refers to the v0.0.79-1 RPM release, place that file (Atuin_Desktop-0.0.79-1.x86_64.rpm) alongside with this PKGBUILD file

To install: makepkg --install

pkgname=atuin-desktop-bin
pkgver=0.0.79
pkgrel=1
pkgdesc="Atuin Desktop: Runbooks that Run. A local-first, executable runbook editor for real terminal workflows"
arch=('x86_64')
url="https://github.com/atuinsh/desktop"
license=('MIT')
depends=(
    "cairo"
    "dbus"
    "fontconfig"
    "gcc-libs"
    "gdk-pixbuf2"
    "glib2"
    "glibc"
    "gtk3"
    "hicolor-icon-theme"
    "libsoup3"
    "pango"
    "webkit2gtk-4.1"
    "zlib"
)
makedepends=()
options=("!debug")

provides=("${pkgname%-bin}")

source_x86_64=(
     "Atuin_Desktop-${pkgver}-1.x86_64.rpm"
)

package() {
	cp -ar "${srcdir}/usr/" "${pkgdir}/usr/"
}

sha256sums_x86_64=('2ec468a6c31aaa6cbb06a754c0086ae96ffe3f31d52a252ce3c300abbb99aa31')