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!