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

Felix Yan felixonmars at archlinux.org
Tue Nov 10 05:13:18 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:13:18
  Author: felixonmars
Revision: 400032

archrelease: copy trunk to staging-x86_64

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

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

Copied: gom/repos/staging-x86_64/PKGBUILD (from rev 400031, gom/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-11-10 05:13:18 UTC (rev 400032)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gom
+pkgver=0.4
+pkgrel=2
+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