Date: Wednesday, October 26, 2022 @ 22:55:59
  Author: heftig
Revision: 459319

43.0-1

Added:
  gnome-console/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-26 22:55:59 UTC (rev 459319)
@@ -0,0 +1,46 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Fabian Bornschein <fabiscafe-cat-mailbox-dog-org>
+# Contributor: Igor Dyatlov <[email protected]>
+
+pkgname=gnome-console
+pkgver=43.0
+pkgrel=1
+pkgdesc="A simple user-friendly terminal emulator for the GNOME desktop"
+url="https://gitlab.gnome.org/GNOME/console";
+arch=(x86_64)
+license=(GPL3)
+depends=(libgtop libadwaita vte4)
+makedepends=(appstream-glib git meson)
+groups=(gnome)
+options=(debug)
+_commit=cffddb1a7bbf8ad1b1616cc026909411e218db1a  # tags/43.0^0
+source=("$pkgname::git+https://gitlab.gnome.org/GNOME/console.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  local meson_options=(
+    -D tests=true
+  )
+
+  arch-meson $pkgname build "${meson_options[@]}"
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to