Date: Friday, April 7, 2023 @ 13:47:14
Author: felixonmars
Revision: 473149
archrelease: copy trunk to staging-x86_64
Added:
gom/repos/staging-x86_64/
gom/repos/staging-x86_64/PKGBUILD
(from rev 473148, gom/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: gom/repos/staging-x86_64/PKGBUILD (from rev 473148, gom/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2023-04-07 13:47:14 UTC (rev 473149)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+
+pkgname=gom
+pkgver=0.4
+pkgrel=6
+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: