[arch-commits] Commit in gom/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 16:51:15 UTC 2021


    Date: Wednesday, December 1, 2021 @ 16:51:15
  Author: felixonmars
Revision: 430092

archrelease: copy trunk to staging-x86_64

Added:
  gom/repos/staging-x86_64/
  gom/repos/staging-x86_64/PKGBUILD
    (from rev 430091, gom/trunk/PKGBUILD)

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

Copied: gom/repos/staging-x86_64/PKGBUILD (from rev 430091, gom/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-12-01 16:51:15 UTC (rev 430092)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gom
+pkgver=0.4
+pkgrel=4
+pkgdesc="A GObject to SQLite object mapper"
+arch=(x86_64)
+url="https://wiki.gnome.org/Projects/Gom"
+license=(LGPL2.1)
+depends=(glib2 sqlite)
+makedepends=(gtk-doc gobject-introspection gdk-pixbuf2 git meson python-gobject)
+provides=(libgom-1.0.so)
+_commit=26816b74a29b9d2d8dc169ed2f9649a4a159bc7c  # tags/0.4^0
+source=("git+https://gitlab.gnome.org/GNOME/gom.git#commit=$_commit")
+sha256sums=('SKIP')
+ 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D enable-gtk-doc=true
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list