[arch-commits] Commit in sushi/repos (2 files)

Jan Steffens heftig at gemini.archlinux.org
Mon Nov 8 20:45:06 UTC 2021


    Date: Monday, November 8, 2021 @ 20:45:05
  Author: heftig
Revision: 427618

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  sushi/repos/gnome-unstable-x86_64/
  sushi/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 427617, sushi/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: sushi/repos/gnome-unstable-x86_64/PKGBUILD (from rev 427617, sushi/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2021-11-08 20:45:05 UTC (rev 427618)
@@ -0,0 +1,42 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=sushi
+pkgver=41.0
+pkgrel=1
+pkgdesc="A quick previewer for Nautilus"
+url="https://gitlab.gnome.org/GNOME/sushi"
+arch=(x86_64)
+license=(GPL2)
+groups=(gnome)
+depends=(gtk3 gjs webkit2gtk-4.1 gtksourceview4 evince gst-plugins-base-libs
+         gst-plugin-gtk)
+makedepends=(gobject-introspection git meson)
+optdepends=('unoconv: OpenDocument formats')
+_commit=20d82a532d222fe53a40d07669fa5d2cd081c66e  # tags/41.0^0
+source=("git+https://gitlab.gnome.org/GNOME/sushi.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list